We divide 840518 by 87
Let's see how many times 87 fits into 840518.

Advancing to step 1:
8 divided by 87 is 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Bring next digit (4) of the dividend behind the 8 and repeat the process: 84 / 87

On to step 2:
The number 87 fits into 84 0 times, leaving a remainder of 84.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 84 after subtracting 0 from 84.
Take the next digit (0) from the dividend and append it to 84, then repeat: 840 / 87

Step 3:
The number 87 fits into 840 9 times, leaving a remainder of 57.
Write down 9 as next digit of the result. 
Result so far: 9.0
Subtract 783 from 840 to get 57.
Append the next digit (5) from the dividend to 57 and continue with: 575 / 87

Let's proceed to step 4:
If we divide 575 by 87, we get 6 and a remainder of 53.
Record the quotient 6 as the next digit in the result. 
Result so far: 96.0
Deduct 522 from 575 and we're left with 53.
Fetch the next digit (1) from the dividend, attach it to 53 and continue: 531 / 87

On to step 5:
87 can be fit into 531 6 times, resulting in a remainder of 9.
The number 6 becomes the next digit in our result. 
Result so far: 966.0
The remainder is 9 after subtracting 522 from 531.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 87

Going ahead to step 6:
98 divided by 87 is 1 with a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 9661.0
If we subtract 87 from 98, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 7:
The number 87 fits into 110 1 times, leaving a remainder of 23.
Use 1 as the next digit of our solution. 
Result so far: 9661.1
Subtracting 87 from 110 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 8:
87 goes into 230 2 times with a remainder of 56.
Put 2 as the next digit of the answer. 
Result so far: 9661.12
Subtracting 174 from 230 leaves us with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Advancing to step 9:
87 can be fit into 560 6 times, resulting in a remainder of 38.
Write down 6 as next digit of the result. 
Result so far: 9661.126
The remainder is 38 after subtracting 522 from 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 10:
87 goes into 380 4 times with a remainder of 32.
Record the quotient 4 as the next digit in the result. 
Result so far: 9661.1264
Deduct 348 from 380 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 11:
320 divided by 87 is 3 with a remainder of 59.
Put 3 as the next digit of the answer. 
Result so far: 9661.12643
Subtracting 261 from 320 leaves us with 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Moving on to step 12:
590 divided by 87 is 6 with a remainder of 68.
Use 6 as the next digit of our solution. 
Result so far: 9661.126436
Subtract 522 from 590 to get 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Step 13:
The number 87 fits into 680 7 times, leaving a remainder of 71.
Write down 7 as next digit of the result. 
Result so far: 9661.1264367
If we take 609 away from 680, we end up with 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Going ahead to step 14:
The number 87 fits into 710 8 times, leaving a remainder of 14.
The next digit of our result is 8. 
Result so far: 9661.12643678
Subtract 696 from 710 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

After the division, we end up with 9661.12643678 and a remainder of 1.4e-08.