We divide 900042 by 40
We want to divide 900042 by 40.

Let's proceed to step 1:
The number 40 fits into 9 0 times, leaving a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Append the next digit (0) from the dividend to 9 and continue with: 90 / 40

Advancing to step 2:
40 goes into 90 2 times with a remainder of 10.
The next digit of our result is 2. 
Result so far: 2.0
If we subtract 80 from 90, we get 10.
Grab the next digit (0) from the dividend, add it to 10, then carry on: 100 / 40

Moving on to step 3:
If we divide 100 by 40, we get 2 and a remainder of 20.
Put 2 as the next digit of the answer. 
Result so far: 22.0
The remainder is 20 after subtracting 80 from 100.
Fetch the next digit (0) from the dividend, attach it to 20 and continue: 200 / 40

On to step 4:
40 goes into 200 5 times with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 225.0
Subtracting 200 from 200 leaves us with 0.
Take the next digit (4) from the dividend and append it to 0, then repeat: 4 / 40

Let's proceed to step 5:
40 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 2250.0
Deduct 0 from 4 and we're left with 4.
Grab the next digit (2) from the dividend, add it to 4, then carry on: 42 / 40

Going ahead to step 6:
The number 40 fits into 42 1 times, leaving a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 22501.0
Subtracting 40 from 42 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
40 can be fit into 20 0 times, resulting in a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 22501.0
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 8:
40 can be fit into 200 5 times, resulting in a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 22501.05
If we take 200 away from 200, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
If we divide 0 by 40, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 22501.05
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 10:
40 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 22501.05
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 22501.05 and a remainder of 0.0.