220858 divided by 40 
Let's see how many times 40 fits into 220858.

Moving on to step 1:
The number 40 fits into 2 0 times, leaving a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 40

Step 2:
When dividing 22 by 40, we get 0 with a remainder of 22.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 22, we get 22.
Grab the next digit (0) from the dividend, add it to 22, then carry on: 220 / 40

Advancing to step 3:
When dividing 220 by 40, we get 5 with a remainder of 20.
The next digit of our result is 5. 
Result so far: 5.0
Subtract 200 from 220 to get 20.
Bring next digit (8) of the dividend behind the 20 and repeat the process: 208 / 40

Advancing to step 4:
40 can be fit into 208 5 times, resulting in a remainder of 8.
Record the quotient 5 as the next digit in the result. 
Result so far: 55.0
If we take 200 away from 208, we end up with 8.
Grab the next digit (5) from the dividend, add it to 8, then carry on: 85 / 40

Going ahead to step 5:
The number 40 fits into 85 2 times, leaving a remainder of 5.
Write down 2 as next digit of the result. 
Result so far: 552.0
Subtract 80 from 85 to get 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 40

Let's proceed to step 6:
When dividing 58 by 40, we get 1 with a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 5521.0
Subtract 40 from 58 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 7:
40 goes into 180 4 times with a remainder of 20.
The next digit of our result is 4. 
Result so far: 5521.4
The remainder is 20 after subtracting 160 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 8:
200 divided by 40 is 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 5521.45
Subtracting 200 from 200 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.

Advancing to step 9:
0 divided by 40 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 5521.45
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.

Step 10:
40 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 5521.45
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.

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