We divide 398456 by 87
Our goal is to divide 398456 by 87.

Let's proceed to step 1:
87 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 87

Advancing to step 2:
87 goes into 39 0 times with a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 39 and we're left with 39.
Grab the next digit (8) from the dividend, add it to 39, then carry on: 398 / 87

On to step 3:
The number 87 fits into 398 4 times, leaving a remainder of 50.
Write down 4 as next digit of the result. 
Result so far: 4.0
Deduct 348 from 398 and we're left with 50.
Fetch the next digit (4) from the dividend, attach it to 50 and continue: 504 / 87

Step 4:
The number 87 fits into 504 5 times, leaving a remainder of 69.
The next digit of our result is 5. 
Result so far: 45.0
Subtract 435 from 504 to get 69.
Include the next digit (5) from the dividend after 69, then repeat: 695 / 87

Moving on to step 5:
If we divide 695 by 87, we get 7 and a remainder of 86.
Use 7 as the next digit of our solution. 
Result so far: 457.0
Deduct 609 from 695 and we're left with 86.
Include the next digit (6) from the dividend after 86, then repeat: 866 / 87

Step 6:
The number 87 fits into 866 9 times, leaving a remainder of 83.
The number 9 becomes the next digit in our result. 
Result so far: 4579.0
Subtract 783 from 866 to get 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

On to step 7:
87 goes into 830 9 times with a remainder of 47.
The number 9 becomes the next digit in our result. 
Result so far: 4579.9
Deduct 783 from 830 and we're left with 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

On to step 8:
If we divide 470 by 87, we get 5 and a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 4579.95
The remainder is 35 after subtracting 435 from 470.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Moving on to step 9:
The number 87 fits into 350 4 times, leaving a remainder of 2.
The next digit of our result is 4. 
Result so far: 4579.954
If we take 348 away from 350, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 10:
If we divide 20 by 87, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 4579.954
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 11:
When dividing 200 by 87, we get 2 with a remainder of 26.
The next digit of our result is 2. 
Result so far: 4579.95402
If we take 174 away from 200, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 12:
The number 87 fits into 260 2 times, leaving a remainder of 86.
The next digit of our result is 2. 
Result so far: 4579.954022
Deduct 174 from 260 and we're left with 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

After the division, we end up with 4579.954022 and a remainder of 8.6e-06.