399916 divided by 87 
We want to divide 399916 by 87.

Advancing to step 1:
3 divided by 87 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 87

Moving on to step 2:
The number 87 fits into 39 0 times, leaving a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Bring next digit (9) of the dividend behind the 39 and repeat the process: 399 / 87

Moving on to step 3:
When dividing 399 by 87, we get 4 with a remainder of 51.
Put 4 as the next digit of the answer. 
Result so far: 4.0
If we subtract 348 from 399, we get 51.
Include the next digit (9) from the dividend after 51, then repeat: 519 / 87

Let's proceed to step 4:
If we divide 519 by 87, we get 5 and a remainder of 84.
Use 5 as the next digit of our solution. 
Result so far: 45.0
If we take 435 away from 519, we end up with 84.
Grab the next digit (1) from the dividend, add it to 84, then carry on: 841 / 87

Step 5:
When dividing 841 by 87, we get 9 with a remainder of 58.
Use 9 as the next digit of our solution. 
Result so far: 459.0
If we take 783 away from 841, we end up with 58.
Grab the next digit (6) from the dividend, add it to 58, then carry on: 586 / 87

Moving on to step 6:
The number 87 fits into 586 6 times, leaving a remainder of 64.
Record the quotient 6 as the next digit in the result. 
Result so far: 4596.0
Subtracting 522 from 586 leaves us with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Step 7:
The number 87 fits into 640 7 times, leaving a remainder of 31.
Use 7 as the next digit of our solution. 
Result so far: 4596.7
Subtract 609 from 640 to get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Let's proceed to step 8:
When dividing 310 by 87, we get 3 with a remainder of 49.
Use 3 as the next digit of our solution. 
Result so far: 4596.73
If we take 261 away from 310, we end up with 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Let's proceed to step 9:
87 goes into 490 5 times with a remainder of 55.
The next digit of our result is 5. 
Result so far: 4596.735
If we subtract 435 from 490, we get 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Let's proceed to step 10:
550 divided by 87 is 6 with a remainder of 28.
The number 6 becomes the next digit in our result. 
Result so far: 4596.7356
The remainder is 28 after subtracting 522 from 550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 11:
If we divide 280 by 87, we get 3 and a remainder of 19.
Record the quotient 3 as the next digit in the result. 
Result so far: 4596.73563
If we subtract 261 from 280, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 12:
190 divided by 87 is 2 with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 4596.735632
Subtract 174 from 190 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 13:
160 divided by 87 is 1 with a remainder of 73.
Use 1 as the next digit of our solution. 
Result so far: 4596.7356321
Subtracting 87 from 160 leaves us with 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

Let's proceed to step 14:
87 goes into 730 8 times with a remainder of 34.
Record the quotient 8 as the next digit in the result. 
Result so far: 4596.73563218
Subtract 696 from 730 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

The final outcome is 4596.73563218, with a leftover of 3.4e-08.