We divide 898318 by 40
We want to divide 898318 by 40.

Going ahead to step 1:
40 goes into 8 0 times with a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Grab the next digit (9) from the dividend, add it to 8, then carry on: 89 / 40

Step 2:
89 divided by 40 is 2 with a remainder of 9.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we subtract 80 from 89, we get 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 40

Going ahead to step 3:
40 can be fit into 98 2 times, resulting in a remainder of 18.
The next digit of our result is 2. 
Result so far: 22.0
The remainder is 18 after subtracting 80 from 98.
Grab the next digit (3) from the dividend, add it to 18, then carry on: 183 / 40

Advancing to step 4:
183 divided by 40 is 4 with a remainder of 23.
The next digit of our result is 4. 
Result so far: 224.0
If we take 160 away from 183, we end up with 23.
Take the next digit (1) from the dividend and append it to 23, then repeat: 231 / 40

On to step 5:
231 divided by 40 is 5 with a remainder of 31.
Put 5 as the next digit of the answer. 
Result so far: 2245.0
The remainder is 31 after subtracting 200 from 231.
Include the next digit (8) from the dividend after 31, then repeat: 318 / 40

On to step 6:
If we divide 318 by 40, we get 7 and a remainder of 38.
Write down 7 as next digit of the result. 
Result so far: 22457.0
If we subtract 280 from 318, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Step 7:
When dividing 380 by 40, we get 9 with a remainder of 20.
Record the quotient 9 as the next digit in the result. 
Result so far: 22457.9
Subtracting 360 from 380 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.

Advancing to step 8:
The number 40 fits into 200 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 22457.95
The remainder is 0 after subtracting 200 from 200.
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:
0 divided by 40 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 22457.95
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.

Going ahead to step 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 22457.95
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.

The final result is 22457.95 with a remainder of 0.0.