Let's divide 888070 by 40
We're looking to find how many times 40 goes into 888070.

On 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
Subtract 0 from 8 to get 8.
Take the next digit (8) from the dividend and append it to 8, then repeat: 88 / 40

Step 2:
If we divide 88 by 40, we get 2 and a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we subtract 80 from 88, we get 8.
Bring next digit (8) of the dividend behind the 8 and repeat the process: 88 / 40

Step 3:
40 can be fit into 88 2 times, resulting in a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 22.0
Subtracting 80 from 88 leaves us with 8.
Fetch the next digit (0) from the dividend, attach it to 8 and continue: 80 / 40

Going ahead to step 4:
40 can be fit into 80 2 times, resulting in a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 222.0
The remainder is 0 after subtracting 80 from 80.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 40

Advancing to step 5:
40 can be fit into 7 0 times, resulting in a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 2220.0
If we subtract 0 from 7, we get 7.
Include the next digit (0) from the dividend after 7, then repeat: 70 / 40

Moving on to step 6:
The number 40 fits into 70 1 times, leaving a remainder of 30.
Put 1 as the next digit of the answer. 
Result so far: 22201.0
Subtracting 40 from 70 leaves us 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.

Step 7:
If we divide 300 by 40, we get 7 and a remainder of 20.
Put 7 as the next digit of the answer. 
Result so far: 22201.7
Subtracting 280 from 300 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 8:
When dividing 200 by 40, we get 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 22201.75
Subtract 200 from 200 to 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 9:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 22201.75
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.

Step 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 22201.75
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.

The quotient of the division is 22201.75, and the remainder is 0.0.