971878 ÷ 45 
We want to divide 971878 by 45.

Step 1:
If we divide 9 by 45, we get 0 and a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Include the next digit (7) from the dividend after 9, then repeat: 97 / 45

On to step 2:
When dividing 97 by 45, we get 2 with a remainder of 7.
Use 2 as the next digit of our solution. 
Result so far: 2.0
The remainder is 7 after subtracting 90 from 97.
Include the next digit (1) from the dividend after 7, then repeat: 71 / 45

Moving on to step 3:
45 goes into 71 1 times with a remainder of 26.
The next digit of our result is 1. 
Result so far: 21.0
Deduct 45 from 71 and we're left with 26.
Take the next digit (8) from the dividend and append it to 26, then repeat: 268 / 45

On to step 4:
The number 45 fits into 268 5 times, leaving a remainder of 43.
The next digit of our result is 5. 
Result so far: 215.0
Subtracting 225 from 268 leaves us with 43.
Grab the next digit (7) from the dividend, add it to 43, then carry on: 437 / 45

On to step 5:
45 can be fit into 437 9 times, resulting in a remainder of 32.
The next digit of our result is 9. 
Result so far: 2159.0
If we take 405 away from 437, we end up with 32.
Grab the next digit (8) from the dividend, add it to 32, then carry on: 328 / 45

Advancing to step 6:
If we divide 328 by 45, we get 7 and a remainder of 13.
The number 7 becomes the next digit in our result. 
Result so far: 21597.0
Subtract 315 from 328 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 7:
45 goes into 130 2 times with a remainder of 40.
The next digit of our result is 2. 
Result so far: 21597.2
Subtracting 90 from 130 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 8:
45 can be fit into 400 8 times, resulting in a remainder of 40.
Record the quotient 8 as the next digit in the result. 
Result so far: 21597.28
The remainder is 40 after subtracting 360 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 9:
If we divide 400 by 45, we get 8 and a remainder of 40.
The number 8 becomes the next digit in our result. 
Result so far: 21597.288
If we take 360 away from 400, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

The final result is 21597.288 with a remainder of 0.004.