We're dividing 893716 by 40 
We want to divide 893716 by 40.

Going ahead to step 1:
When dividing 8 by 40, we get 0 with a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Include the next digit (9) from the dividend after 8, then repeat: 89 / 40

Moving on to step 2:
89 divided by 40 is 2 with a remainder of 9.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 9 after subtracting 80 from 89.
Include the next digit (3) from the dividend after 9, then repeat: 93 / 40

Going ahead to step 3:
The number 40 fits into 93 2 times, leaving a remainder of 13.
Write down 2 as next digit of the result. 
Result so far: 22.0
The remainder is 13 after subtracting 80 from 93.
Bring next digit (7) of the dividend behind the 13 and repeat the process: 137 / 40

Moving on to step 4:
137 divided by 40 is 3 with a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 223.0
Subtracting 120 from 137 leaves us with 17.
Bring next digit (1) of the dividend behind the 17 and repeat the process: 171 / 40

Going ahead to step 5:
The number 40 fits into 171 4 times, leaving a remainder of 11.
The number 4 becomes the next digit in our result. 
Result so far: 2234.0
Deduct 160 from 171 and we're left with 11.
Bring next digit (6) of the dividend behind the 11 and repeat the process: 116 / 40

Let's proceed to step 6:
When dividing 116 by 40, we get 2 with a remainder of 36.
Record the quotient 2 as the next digit in the result. 
Result so far: 22342.0
If we take 80 away from 116, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 7:
40 can be fit into 360 9 times, resulting in a remainder of 0.
Write down 9 as next digit of the result. 
Result so far: 22342.9
The remainder is 0 after subtracting 360 from 360.
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 8:
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: 22342.9
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.

On to step 9:
40 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 22342.9
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.

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