Let's divide 40987394 by 900
We're looking to find how many times 900 goes into 40987394.

Going ahead to step 1:
900 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 900

Moving on to step 2:
900 can be fit into 40 0 times, resulting in a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Bring next digit (9) of the dividend behind the 40 and repeat the process: 409 / 900

Going ahead to step 3:
900 goes into 409 0 times with a remainder of 409.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 409, we get 409.
Include the next digit (8) from the dividend after 409, then repeat: 4098 / 900

Step 4:
The number 900 fits into 4098 4 times, leaving a remainder of 498.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we subtract 3600 from 4098, we get 498.
Append the next digit (7) from the dividend to 498 and continue with: 4987 / 900

Going ahead to step 5:
If we divide 4987 by 900, we get 5 and a remainder of 487.
The next digit of our result is 5. 
Result so far: 45.0
Deduct 4500 from 4987 and we're left with 487.
Bring next digit (3) of the dividend behind the 487 and repeat the process: 4873 / 900

Let's proceed to step 6:
4873 divided by 900 is 5 with a remainder of 373.
Write down 5 as next digit of the result. 
Result so far: 455.0
Subtract 4500 from 4873 to get 373.
Grab the next digit (9) from the dividend, add it to 373, then carry on: 3739 / 900

Step 7:
If we divide 3739 by 900, we get 4 and a remainder of 139.
Record the quotient 4 as the next digit in the result. 
Result so far: 4554.0
Subtract 3600 from 3739 to get 139.
Append the next digit (4) from the dividend to 139 and continue with: 1394 / 900

Going ahead to step 8:
If we divide 1394 by 900, we get 1 and a remainder of 494.
Write down 1 as next digit of the result. 
Result so far: 45541.0
Deduct 900 from 1394 and we're left with 494.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4940, and continue the process.

Moving on to step 9:
4940 divided by 900 is 5 with a remainder of 440.
The next digit of our result is 5. 
Result so far: 45541.5
If we take 4500 away from 4940, we end up with 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4400, and continue the process.

Going ahead to step 10:
When dividing 4400 by 900, we get 4 with a remainder of 800.
The number 4 becomes the next digit in our result. 
Result so far: 45541.54
Subtract 3600 from 4400 to get 800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8000, and continue the process.

Going ahead to step 11:
When dividing 8000 by 900, we get 8 with a remainder of 800.
Put 8 as the next digit of the answer. 
Result so far: 45541.548
The remainder is 800 after subtracting 7200 from 8000.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8000, and continue the process.

Let's proceed to step 12:
900 goes into 8000 8 times with a remainder of 800.
Write down 8 as next digit of the result. 
Result so far: 45541.5488
If we take 7200 away from 8000, we end up with 800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8000, and continue the process.

In conclusion, the division gives 45541.5488 with a balance of 0.008.