We look at the division of 884228 by 40 
We want to divide 884228 by 40.

On to step 1:
40 goes into 8 0 times with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Grab the next digit (8) from the dividend, add it to 8, then carry on: 88 / 40

Let's proceed to step 2:
If we divide 88 by 40, we get 2 and a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Deduct 80 from 88 and we're left with 8.
Grab the next digit (4) from the dividend, add it to 8, then carry on: 84 / 40

Advancing to step 3:
84 divided by 40 is 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 22.0
If we subtract 80 from 84, we get 4.
Grab the next digit (2) from the dividend, add it to 4, then carry on: 42 / 40

Step 4:
When dividing 42 by 40, we get 1 with a remainder of 2.
The next digit of our result is 1. 
Result so far: 221.0
The remainder is 2 after subtracting 40 from 42.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 40

Let's proceed to step 5:
22 divided by 40 is 0 with a remainder of 22.
Write down 0 as next digit of the result. 
Result so far: 2210.0
The remainder is 22 after subtracting 0 from 22.
Fetch the next digit (8) from the dividend, attach it to 22 and continue: 228 / 40

Step 6:
If we divide 228 by 40, we get 5 and a remainder of 28.
The number 5 becomes the next digit in our result. 
Result so far: 22105.0
If we subtract 200 from 228, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 7:
If we divide 280 by 40, we get 7 and a remainder of 0.
The next digit of our result is 7. 
Result so far: 22105.7
Subtracting 280 from 280 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 8:
40 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 22105.7
Subtract 0 from 0 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.

Moving on to step 9:
When dividing 0 by 40, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 22105.7
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.

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