We divide 40745507 by 940
Our goal is to divide 40745507 by 940.

On to step 1:
940 can be fit into 4 0 times, resulting in a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 940

Step 2:
If we divide 40 by 940, we get 0 and a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Append the next digit (7) from the dividend to 40 and continue with: 407 / 940

Let's proceed to step 3:
When dividing 407 by 940, we get 0 with a remainder of 407.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 407 to get 407.
Append the next digit (4) from the dividend to 407 and continue with: 4074 / 940

Step 4:
The number 940 fits into 4074 4 times, leaving a remainder of 314.
Use 4 as the next digit of our solution. 
Result so far: 4.0
If we take 3760 away from 4074, we end up with 314.
Grab the next digit (5) from the dividend, add it to 314, then carry on: 3145 / 940

Moving on to step 5:
When dividing 3145 by 940, we get 3 with a remainder of 325.
Use 3 as the next digit of our solution. 
Result so far: 43.0
If we subtract 2820 from 3145, we get 325.
Fetch the next digit (5) from the dividend, attach it to 325 and continue: 3255 / 940

Step 6:
When dividing 3255 by 940, we get 3 with a remainder of 435.
Put 3 as the next digit of the answer. 
Result so far: 433.0
If we subtract 2820 from 3255, we get 435.
Append the next digit (0) from the dividend to 435 and continue with: 4350 / 940

Going ahead to step 7:
4350 divided by 940 is 4 with a remainder of 590.
The number 4 becomes the next digit in our result. 
Result so far: 4334.0
The remainder is 590 after subtracting 3760 from 4350.
Fetch the next digit (7) from the dividend, attach it to 590 and continue: 5907 / 940

Step 8:
The number 940 fits into 5907 6 times, leaving a remainder of 267.
Put 6 as the next digit of the answer. 
Result so far: 43346.0
The remainder is 267 after subtracting 5640 from 5907.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2670, and continue the process.

On to step 9:
If we divide 2670 by 940, we get 2 and a remainder of 790.
Record the quotient 2 as the next digit in the result. 
Result so far: 43346.2
The remainder is 790 after subtracting 1880 from 2670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7900, and continue the process.

Let's proceed to step 10:
The number 940 fits into 7900 8 times, leaving a remainder of 380.
The number 8 becomes the next digit in our result. 
Result so far: 43346.28
Deduct 7520 from 7900 and we're left with 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Going ahead to step 11:
940 goes into 3800 4 times with a remainder of 40.
Write down 4 as next digit of the result. 
Result so far: 43346.284
The remainder is 40 after subtracting 3760 from 3800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 12:
940 goes into 400 0 times with a remainder of 400.
Put 0 as the next digit of the answer. 
Result so far: 43346.284
Subtract 0 from 400 to get 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 13:
4000 divided by 940 is 4 with a remainder of 240.
The number 4 becomes the next digit in our result. 
Result so far: 43346.28404
If we take 3760 away from 4000, we end up with 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Going ahead to step 14:
940 can be fit into 2400 2 times, resulting in a remainder of 520.
Put 2 as the next digit of the answer. 
Result so far: 43346.284042
Subtract 1880 from 2400 to get 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 15:
940 can be fit into 5200 5 times, resulting in a remainder of 500.
Use 5 as the next digit of our solution. 
Result so far: 43346.2840425
Deduct 4700 from 5200 and we're left with 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5000, and continue the process.

On to step 16:
When dividing 5000 by 940, we get 5 with a remainder of 300.
The number 5 becomes the next digit in our result. 
Result so far: 43346.28404255
Subtract 4700 from 5000 to get 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

After the division, we end up with 43346.28404255 and a remainder of 3e-07.