We look at the division of 897509 by 40 
We want to divide 897509 by 40.

Moving on to step 1:
The number 40 fits into 8 0 times, leaving a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Fetch the next digit (9) from the dividend, attach it to 8 and continue: 89 / 40

Step 2:
40 goes into 89 2 times with a remainder of 9.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 80 from 89 to get 9.
Include the next digit (7) from the dividend after 9, then repeat: 97 / 40

Moving on to step 3:
When dividing 97 by 40, we get 2 with a remainder of 17.
Record the quotient 2 as the next digit in the result. 
Result so far: 22.0
The remainder is 17 after subtracting 80 from 97.
Bring next digit (5) of the dividend behind the 17 and repeat the process: 175 / 40

On to step 4:
40 goes into 175 4 times with a remainder of 15.
Record the quotient 4 as the next digit in the result. 
Result so far: 224.0
Subtracting 160 from 175 leaves us with 15.
Bring next digit (0) of the dividend behind the 15 and repeat the process: 150 / 40

Step 5:
40 goes into 150 3 times with a remainder of 30.
Write down 3 as next digit of the result. 
Result so far: 2243.0
Subtract 120 from 150 to get 30.
Include the next digit (9) from the dividend after 30, then repeat: 309 / 40

On to step 6:
40 can be fit into 309 7 times, resulting in a remainder of 29.
The next digit of our result is 7. 
Result so far: 22437.0
The remainder is 29 after subtracting 280 from 309.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

On to step 7:
40 can be fit into 290 7 times, resulting in a remainder of 10.
Write down 7 as next digit of the result. 
Result so far: 22437.7
Subtracting 280 from 290 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
40 can be fit into 100 2 times, resulting in a remainder of 20.
The number 2 becomes the next digit in our result. 
Result so far: 22437.72
The remainder is 20 after subtracting 80 from 100.
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:
40 goes into 200 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 22437.725
If we subtract 200 from 200, we 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.

Step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 22437.725
If we take 0 away from 0, 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.

Moving on to step 11:
When dividing 0 by 40, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 22437.725
If we take 0 away from 0, 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.

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