Let's divide 40584904 by 940
We want to divide 40584904 by 940.

Going ahead 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
The remainder is 4 after subtracting 0 from 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 940

Step 2:
The number 940 fits into 40 0 times, leaving 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.
Bring next digit (5) of the dividend behind the 40 and repeat the process: 405 / 940

Going ahead to step 3:
When dividing 405 by 940, we get 0 with a remainder of 405.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 405 after subtracting 0 from 405.
Include the next digit (8) from the dividend after 405, then repeat: 4058 / 940

Moving on to step 4:
4058 divided by 940 is 4 with a remainder of 298.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
If we subtract 3760 from 4058, we get 298.
Bring next digit (4) of the dividend behind the 298 and repeat the process: 2984 / 940

Advancing to step 5:
The number 940 fits into 2984 3 times, leaving a remainder of 164.
The next digit of our result is 3. 
Result so far: 43.0
If we subtract 2820 from 2984, we get 164.
Take the next digit (9) from the dividend and append it to 164, then repeat: 1649 / 940

Let's proceed to step 6:
When dividing 1649 by 940, we get 1 with a remainder of 709.
The number 1 becomes the next digit in our result. 
Result so far: 431.0
Deduct 940 from 1649 and we're left with 709.
Take the next digit (0) from the dividend and append it to 709, then repeat: 7090 / 940

Advancing to step 7:
7090 divided by 940 is 7 with a remainder of 510.
The next digit of our result is 7. 
Result so far: 4317.0
Subtracting 6580 from 7090 leaves us with 510.
Append the next digit (4) from the dividend to 510 and continue with: 5104 / 940

Let's proceed to step 8:
5104 divided by 940 is 5 with a remainder of 404.
The number 5 becomes the next digit in our result. 
Result so far: 43175.0
Subtract 4700 from 5104 to get 404.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4040, and continue the process.

Step 9:
940 goes into 4040 4 times with a remainder of 280.
Record the quotient 4 as the next digit in the result. 
Result so far: 43175.4
Deduct 3760 from 4040 and we're left with 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

On to step 10:
The number 940 fits into 2800 2 times, leaving a remainder of 920.
Use 2 as the next digit of our solution. 
Result so far: 43175.42
If we subtract 1880 from 2800, we get 920.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9200, and continue the process.

Let's proceed to step 11:
When dividing 9200 by 940, we get 9 with a remainder of 740.
Use 9 as the next digit of our solution. 
Result so far: 43175.429
Subtract 8460 from 9200 to get 740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7400, and continue the process.

Let's proceed to step 12:
The number 940 fits into 7400 7 times, leaving a remainder of 820.
Write down 7 as next digit of the result. 
Result so far: 43175.4297
Subtracting 6580 from 7400 leaves us 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 13:
When dividing 8200 by 940, we get 8 with a remainder of 680.
Write down 8 as next digit of the result. 
Result so far: 43175.42978
Subtracting 7520 from 8200 leaves us with 680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6800, and continue the process.

Advancing to step 14:
If we divide 6800 by 940, we get 7 and a remainder of 220.
Write down 7 as next digit of the result. 
Result so far: 43175.429787
If we take 6580 away from 6800, we end up with 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

Advancing to step 15:
940 can be fit into 2200 2 times, resulting in a remainder of 320.
The number 2 becomes the next digit in our result. 
Result so far: 43175.4297872
Deduct 1880 from 2200 and we're left with 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Step 16:
940 goes into 3200 3 times with a remainder of 380.
Record the quotient 3 as the next digit in the result. 
Result so far: 43175.42978723
If we subtract 2820 from 3200, we get 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Our division results in 43175.42978723 with a remaining 3.8e-07.