Let's divide 874560 by 45
Our goal is to divide 874560 by 45.

Step 1:
45 goes into 8 0 times with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 45

Moving on to step 2:
45 goes into 87 1 times with a remainder of 42.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 45 away from 87, we end up with 42.
Bring next digit (4) of the dividend behind the 42 and repeat the process: 424 / 45

Moving on to step 3:
If we divide 424 by 45, we get 9 and a remainder of 19.
Write down 9 as next digit of the result. 
Result so far: 19.0
The remainder is 19 after subtracting 405 from 424.
Append the next digit (5) from the dividend to 19 and continue with: 195 / 45

Going ahead to step 4:
When dividing 195 by 45, we get 4 with a remainder of 15.
Write down 4 as next digit of the result. 
Result so far: 194.0
The remainder is 15 after subtracting 180 from 195.
Fetch the next digit (6) from the dividend, attach it to 15 and continue: 156 / 45

Going ahead to step 5:
156 divided by 45 is 3 with a remainder of 21.
The number 3 becomes the next digit in our result. 
Result so far: 1943.0
If we subtract 135 from 156, we get 21.
Fetch the next digit (0) from the dividend, attach it to 21 and continue: 210 / 45

Moving on to step 6:
If we divide 210 by 45, we get 4 and a remainder of 30.
Use 4 as the next digit of our solution. 
Result so far: 19434.0
Deduct 180 from 210 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 7:
45 can be fit into 300 6 times, resulting in a remainder of 30.
Use 6 as the next digit of our solution. 
Result so far: 19434.6
The remainder is 30 after subtracting 270 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 8:
300 divided by 45 is 6 with a remainder of 30.
Record the quotient 6 as the next digit in the result. 
Result so far: 19434.66
Deduct 270 from 300 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The final result is 19434.66 with a remainder of 0.03.