878712 divided by 45 
We want to divide 878712 by 45.

Advancing to step 1:
When dividing 8 by 45, we get 0 with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 45

Step 2:
The number 45 fits into 87 1 times, leaving a remainder of 42.
The next digit of our result is 1. 
Result so far: 1.0
If we take 45 away from 87, we end up with 42.
Take the next digit (8) from the dividend and append it to 42, then repeat: 428 / 45

Moving on to step 3:
The number 45 fits into 428 9 times, leaving a remainder of 23.
Use 9 as the next digit of our solution. 
Result so far: 19.0
If we subtract 405 from 428, we get 23.
Include the next digit (7) from the dividend after 23, then repeat: 237 / 45

Step 4:
When dividing 237 by 45, we get 5 with a remainder of 12.
The next digit of our result is 5. 
Result so far: 195.0
The remainder is 12 after subtracting 225 from 237.
Include the next digit (1) from the dividend after 12, then repeat: 121 / 45

Moving on to step 5:
When dividing 121 by 45, we get 2 with a remainder of 31.
Write down 2 as next digit of the result. 
Result so far: 1952.0
Subtract 90 from 121 to get 31.
Fetch the next digit (2) from the dividend, attach it to 31 and continue: 312 / 45

Advancing to step 6:
45 can be fit into 312 6 times, resulting in a remainder of 42.
Put 6 as the next digit of the answer. 
Result so far: 19526.0
Deduct 270 from 312 and we're left with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Going ahead to step 7:
45 can be fit into 420 9 times, resulting in a remainder of 15.
Use 9 as the next digit of our solution. 
Result so far: 19526.9
The remainder is 15 after subtracting 405 from 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 8:
45 goes into 150 3 times with a remainder of 15.
Write down 3 as next digit of the result. 
Result so far: 19526.93
Subtracting 135 from 150 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 9:
45 can be fit into 150 3 times, resulting in a remainder of 15.
Write down 3 as next digit of the result. 
Result so far: 19526.933
Deduct 135 from 150 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

The quotient of the division is 19526.933, and the remainder is 0.0015.