Let's divide 898217 by 40
Our goal is to divide 898217 by 40.

Moving on to step 1:
40 can be fit into 8 0 times, resulting in a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Include the next digit (9) from the dividend after 8, then repeat: 89 / 40

Advancing to step 2:
If we divide 89 by 40, we get 2 and a remainder of 9.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtract 80 from 89 to get 9.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 40

Step 3:
98 divided by 40 is 2 with a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 22.0
Subtracting 80 from 98 leaves us with 18.
Append the next digit (2) from the dividend to 18 and continue with: 182 / 40

Step 4:
40 goes into 182 4 times with a remainder of 22.
Use 4 as the next digit of our solution. 
Result so far: 224.0
Subtracting 160 from 182 leaves us with 22.
Take the next digit (1) from the dividend and append it to 22, then repeat: 221 / 40

Moving on to step 5:
When dividing 221 by 40, we get 5 with a remainder of 21.
Put 5 as the next digit of the answer. 
Result so far: 2245.0
If we subtract 200 from 221, we get 21.
Append the next digit (7) from the dividend to 21 and continue with: 217 / 40

Moving on to step 6:
217 divided by 40 is 5 with a remainder of 17.
Use 5 as the next digit of our solution. 
Result so far: 22455.0
If we subtract 200 from 217, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 7:
40 can be fit into 170 4 times, resulting in a remainder of 10.
Write down 4 as next digit of the result. 
Result so far: 22455.4
Deduct 160 from 170 and we're left 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.

Advancing to step 8:
40 can be fit into 100 2 times, resulting in a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 22455.42
Subtracting 80 from 100 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.

Going ahead to step 9:
The number 40 fits into 200 5 times, leaving a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 22455.425
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.

On to step 10:
40 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 22455.425
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.

Advancing to step 11:
When dividing 0 by 40, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 22455.425
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.

Our division results in 22455.425 with a remaining 0.0.