We divide 40718242 by 840
Let's see how many times 840 fits into 40718242.

On to step 1:
4 divided by 840 is 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 840

On to step 2:
If we divide 40 by 840, we get 0 and a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Include the next digit (7) from the dividend after 40, then repeat: 407 / 840

Advancing to step 3:
840 goes into 407 0 times with a remainder of 407.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 407 leaves us with 407.
Take the next digit (1) from the dividend and append it to 407, then repeat: 4071 / 840

Advancing to step 4:
When dividing 4071 by 840, we get 4 with a remainder of 711.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 3360 from 4071 leaves us with 711.
Take the next digit (8) from the dividend and append it to 711, then repeat: 7118 / 840

Step 5:
7118 divided by 840 is 8 with a remainder of 398.
Record the quotient 8 as the next digit in the result. 
Result so far: 48.0
Deduct 6720 from 7118 and we're left with 398.
Include the next digit (2) from the dividend after 398, then repeat: 3982 / 840

Advancing to step 6:
If we divide 3982 by 840, we get 4 and a remainder of 622.
Use 4 as the next digit of our solution. 
Result so far: 484.0
Subtract 3360 from 3982 to get 622.
Bring next digit (4) of the dividend behind the 622 and repeat the process: 6224 / 840

Advancing to step 7:
The number 840 fits into 6224 7 times, leaving a remainder of 344.
Record the quotient 7 as the next digit in the result. 
Result so far: 4847.0
Subtract 5880 from 6224 to get 344.
Append the next digit (2) from the dividend to 344 and continue with: 3442 / 840

Step 8:
The number 840 fits into 3442 4 times, leaving a remainder of 82.
Write down 4 as next digit of the result. 
Result so far: 48474.0
If we take 3360 away from 3442, we end up with 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

On to step 9:
840 goes into 820 0 times with a remainder of 820.
Put 0 as the next digit of the answer. 
Result so far: 48474.0
Deduct 0 from 820 and we're left with 820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8200, and continue the process.

Going ahead to step 10:
8200 divided by 840 is 9 with a remainder of 640.
Write down 9 as next digit of the result. 
Result so far: 48474.09
Deduct 7560 from 8200 and we're left with 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6400, and continue the process.

Let's proceed to step 11:
The number 840 fits into 6400 7 times, leaving a remainder of 520.
Write down 7 as next digit of the result. 
Result so far: 48474.097
Deduct 5880 from 6400 and we're left with 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5200, and continue the process.

Going ahead to step 12:
840 can be fit into 5200 6 times, resulting in a remainder of 160.
The next digit of our result is 6. 
Result so far: 48474.0976
If we take 5040 away from 5200, we end up with 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Let's proceed to step 13:
When dividing 1600 by 840, we get 1 with a remainder of 760.
Write down 1 as next digit of the result. 
Result so far: 48474.09761
The remainder is 760 after subtracting 840 from 1600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7600, and continue the process.

Advancing to step 14:
840 goes into 7600 9 times with a remainder of 40.
Use 9 as the next digit of our solution. 
Result so far: 48474.097619
Deduct 7560 from 7600 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 15:
400 divided by 840 is 0 with a remainder of 400.
Write down 0 as next digit of the result. 
Result so far: 48474.097619
Deduct 0 from 400 and we're left with 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

Going ahead to step 16:
If we divide 4000 by 840, we get 4 and a remainder of 640.
Record the quotient 4 as the next digit in the result. 
Result so far: 48474.09761904
Subtract 3360 from 4000 to get 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6400, and continue the process.

The final outcome is 48474.09761904, with a leftover of 6.4e-07.