887944 ÷ 40 
Let's see how many times 40 fits into 887944.

Advancing to step 1:
If we divide 8 by 40, we get 0 and a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Include the next digit (8) from the dividend after 8, then repeat: 88 / 40

Going ahead to 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
Subtract 80 from 88 to get 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 40

Step 3:
When dividing 87 by 40, we get 2 with a remainder of 7.
Use 2 as the next digit of our solution. 
Result so far: 22.0
Deduct 80 from 87 and we're left with 7.
Include the next digit (9) from the dividend after 7, then repeat: 79 / 40

Step 4:
When dividing 79 by 40, we get 1 with a remainder of 39.
The number 1 becomes the next digit in our result. 
Result so far: 221.0
If we subtract 40 from 79, we get 39.
Grab the next digit (4) from the dividend, add it to 39, then carry on: 394 / 40

Let's proceed to step 5:
40 goes into 394 9 times with a remainder of 34.
Record the quotient 9 as the next digit in the result. 
Result so far: 2219.0
If we take 360 away from 394, we end up with 34.
Take the next digit (4) from the dividend and append it to 34, then repeat: 344 / 40

On to step 6:
When dividing 344 by 40, we get 8 with a remainder of 24.
Use 8 as the next digit of our solution. 
Result so far: 22198.0
If we take 320 away from 344, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 7:
If we divide 240 by 40, we get 6 and a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 22198.6
Subtracting 240 from 240 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.

On to step 8:
When dividing 0 by 40, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 22198.6
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:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 22198.6
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 outcome is 22198.6, with a leftover of 0.0.