879866 ÷ 45 
We want to figure out the number of times 879866 can be divided by 45.

Going ahead to step 1:
When dividing 8 by 45, we get 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 45

Step 2:
45 goes into 87 1 times with a remainder of 42.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 45 from 87 to get 42.
Take the next digit (9) from the dividend and append it to 42, then repeat: 429 / 45

On to step 3:
When dividing 429 by 45, we get 9 with a remainder of 24.
The next digit of our result is 9. 
Result so far: 19.0
If we subtract 405 from 429, we get 24.
Grab the next digit (8) from the dividend, add it to 24, then carry on: 248 / 45

Step 4:
45 goes into 248 5 times with a remainder of 23.
Record the quotient 5 as the next digit in the result. 
Result so far: 195.0
The remainder is 23 after subtracting 225 from 248.
Append the next digit (6) from the dividend to 23 and continue with: 236 / 45

Let's proceed to step 5:
When dividing 236 by 45, we get 5 with a remainder of 11.
The number 5 becomes the next digit in our result. 
Result so far: 1955.0
If we take 225 away from 236, we end up with 11.
Include the next digit (6) from the dividend after 11, then repeat: 116 / 45

Advancing to step 6:
45 goes into 116 2 times with a remainder of 26.
The next digit of our result is 2. 
Result so far: 19552.0
If we subtract 90 from 116, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 7:
The number 45 fits into 260 5 times, leaving a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 19552.5
If we take 225 away from 260, we end up with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 8:
45 goes into 350 7 times with a remainder of 35.
Record the quotient 7 as the next digit in the result. 
Result so far: 19552.57
If we subtract 315 from 350, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 9:
If we divide 350 by 45, we get 7 and a remainder of 35.
Record the quotient 7 as the next digit in the result. 
Result so far: 19552.577
Subtracting 315 from 350 leaves us with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

The final outcome is 19552.577, with a leftover of 0.0035.