We're dividing 398151 by 84 
We want to divide 398151 by 84.

Moving on to step 1:
The number 84 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 84

Step 2:
The number 84 fits into 39 0 times, leaving a remainder of 39.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Append the next digit (8) from the dividend to 39 and continue with: 398 / 84

Step 3:
84 goes into 398 4 times with a remainder of 62.
Use 4 as the next digit of our solution. 
Result so far: 4.0
If we subtract 336 from 398, we get 62.
Bring next digit (1) of the dividend behind the 62 and repeat the process: 621 / 84

Advancing to step 4:
84 goes into 621 7 times with a remainder of 33.
Put 7 as the next digit of the answer. 
Result so far: 47.0
Deduct 588 from 621 and we're left with 33.
Take the next digit (5) from the dividend and append it to 33, then repeat: 335 / 84

Step 5:
If we divide 335 by 84, we get 3 and a remainder of 83.
Put 3 as the next digit of the answer. 
Result so far: 473.0
Subtract 252 from 335 to get 83.
Grab the next digit (1) from the dividend, add it to 83, then carry on: 831 / 84

Going ahead to step 6:
831 divided by 84 is 9 with a remainder of 75.
Write down 9 as next digit of the result. 
Result so far: 4739.0
The remainder is 75 after subtracting 756 from 831.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Step 7:
84 goes into 750 8 times with a remainder of 78.
Use 8 as the next digit of our solution. 
Result so far: 4739.8
The remainder is 78 after subtracting 672 from 750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Advancing to step 8:
If we divide 780 by 84, we get 9 and a remainder of 24.
Put 9 as the next digit of the answer. 
Result so far: 4739.89
If we subtract 756 from 780, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 9:
84 goes into 240 2 times with a remainder of 72.
Put 2 as the next digit of the answer. 
Result so far: 4739.892
If we take 168 away from 240, we end up with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Advancing to step 10:
When dividing 720 by 84, we get 8 with a remainder of 48.
Record the quotient 8 as the next digit in the result. 
Result so far: 4739.8928
Subtracting 672 from 720 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Step 11:
If we divide 480 by 84, we get 5 and a remainder of 60.
Write down 5 as next digit of the result. 
Result so far: 4739.89285
Subtracting 420 from 480 leaves us with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Moving on to step 12:
84 can be fit into 600 7 times, resulting in a remainder of 12.
The number 7 becomes the next digit in our result. 
Result so far: 4739.892857
The remainder is 12 after subtracting 588 from 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 13:
120 divided by 84 is 1 with a remainder of 36.
The next digit of our result is 1. 
Result so far: 4739.8928571
Subtracting 84 from 120 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 14:
If we divide 360 by 84, we get 4 and a remainder of 24.
Record the quotient 4 as the next digit in the result. 
Result so far: 4739.89285714
Subtract 336 from 360 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The final result is 4739.89285714 with a remainder of 2.4e-08.