900159 divided by 40 
We want to divide 900159 by 40.

Going ahead 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
Deduct 0 from 9 and we're left with 9.
Fetch the next digit (0) from the dividend, attach it to 9 and continue: 90 / 40

On to step 2:
90 divided by 40 is 2 with a remainder of 10.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 80 from 90 leaves us with 10.
Grab the next digit (0) from the dividend, add it to 10, then carry on: 100 / 40

Moving on to step 3:
When dividing 100 by 40, we get 2 with a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 22.0
Deduct 80 from 100 and we're left with 20.
Bring next digit (1) of the dividend behind the 20 and repeat the process: 201 / 40

Let's proceed to step 4:
201 divided by 40 is 5 with a remainder of 1.
The next digit of our result is 5. 
Result so far: 225.0
Deduct 200 from 201 and we're left with 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 40

Moving on to step 5:
When dividing 15 by 40, we get 0 with a remainder of 15.
The next digit of our result is 0. 
Result so far: 2250.0
Subtracting 0 from 15 leaves us with 15.
Append the next digit (9) from the dividend to 15 and continue with: 159 / 40

Step 6:
40 can be fit into 159 3 times, resulting in a remainder of 39.
The number 3 becomes the next digit in our result. 
Result so far: 22503.0
Subtract 120 from 159 to get 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Moving on to step 7:
The number 40 fits into 390 9 times, leaving a remainder of 30.
Record the quotient 9 as the next digit in the result. 
Result so far: 22503.9
Deduct 360 from 390 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 8:
40 can be fit into 300 7 times, resulting in a remainder of 20.
Use 7 as the next digit of our solution. 
Result so far: 22503.97
If we subtract 280 from 300, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 9:
200 divided by 40 is 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 22503.975
Subtracting 200 from 200 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.

Let's proceed to step 10:
40 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 22503.975
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 11:
If we divide 0 by 40, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 22503.975
Deduct 0 from 0 and we're left 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.

Our division results in 22503.975 with a remaining 0.0.