We're dividing 877472 by 45 
Let's see how many times 45 fits into 877472.

Let's proceed to step 1:
If we divide 8 by 45, we get 0 and a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Bring next digit (7) of the dividend behind the 8 and repeat the process: 87 / 45

Advancing to step 2:
When dividing 87 by 45, we get 1 with a remainder of 42.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 45 from 87 leaves us with 42.
Take the next digit (7) from the dividend and append it to 42, then repeat: 427 / 45

Moving on to step 3:
427 divided by 45 is 9 with a remainder of 22.
Write down 9 as next digit of the result. 
Result so far: 19.0
Subtracting 405 from 427 leaves us with 22.
Fetch the next digit (4) from the dividend, attach it to 22 and continue: 224 / 45

Going ahead to step 4:
If we divide 224 by 45, we get 4 and a remainder of 44.
Put 4 as the next digit of the answer. 
Result so far: 194.0
Deduct 180 from 224 and we're left with 44.
Bring next digit (7) of the dividend behind the 44 and repeat the process: 447 / 45

Moving on to step 5:
45 can be fit into 447 9 times, resulting in a remainder of 42.
The number 9 becomes the next digit in our result. 
Result so far: 1949.0
The remainder is 42 after subtracting 405 from 447.
Bring next digit (2) of the dividend behind the 42 and repeat the process: 422 / 45

On to step 6:
If we divide 422 by 45, we get 9 and a remainder of 17.
Put 9 as the next digit of the answer. 
Result so far: 19499.0
Deduct 405 from 422 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 7:
The number 45 fits into 170 3 times, leaving a remainder of 35.
The next digit of our result is 3. 
Result so far: 19499.3
Deduct 135 from 170 and we're left 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.

Step 8:
When dividing 350 by 45, we get 7 with a remainder of 35.
Write down 7 as next digit of the result. 
Result so far: 19499.37
If we take 315 away from 350, 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.

Going ahead to step 9:
If we divide 350 by 45, we get 7 and a remainder of 35.
The number 7 becomes the next digit in our result. 
Result so far: 19499.377
The remainder is 35 after subtracting 315 from 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

After the division, we end up with 19499.377 and a remainder of 0.0035.