We look at the division of 972894 by 45 
We want to figure out the number of times 972894 can be divided by 45.

On to step 1:
45 goes into 9 0 times with a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Append the next digit (7) from the dividend to 9 and continue with: 97 / 45

Going ahead to step 2:
97 divided by 45 is 2 with a remainder of 7.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 90 from 97 to get 7.
Fetch the next digit (2) from the dividend, attach it to 7 and continue: 72 / 45

Moving on to step 3:
The number 45 fits into 72 1 times, leaving a remainder of 27.
The number 1 becomes the next digit in our result. 
Result so far: 21.0
Deduct 45 from 72 and we're left with 27.
Include the next digit (8) from the dividend after 27, then repeat: 278 / 45

Advancing to step 4:
The number 45 fits into 278 6 times, leaving a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 216.0
The remainder is 8 after subtracting 270 from 278.
Take the next digit (9) from the dividend and append it to 8, then repeat: 89 / 45

On to step 5:
When dividing 89 by 45, we get 1 with a remainder of 44.
Use 1 as the next digit of our solution. 
Result so far: 2161.0
Subtracting 45 from 89 leaves us with 44.
Append the next digit (4) from the dividend to 44 and continue with: 444 / 45

Advancing to step 6:
If we divide 444 by 45, we get 9 and a remainder of 39.
The next digit of our result is 9. 
Result so far: 21619.0
Subtracting 405 from 444 leaves us with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

On to step 7:
The number 45 fits into 390 8 times, leaving a remainder of 30.
Put 8 as the next digit of the answer. 
Result so far: 21619.8
Subtracting 360 from 390 leaves us 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 8:
The number 45 fits into 300 6 times, leaving a remainder of 30.
Record the quotient 6 as the next digit in the result. 
Result so far: 21619.86
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.

Going ahead to step 9:
When dividing 300 by 45, we get 6 with a remainder of 30.
Record the quotient 6 as the next digit in the result. 
Result so far: 21619.866
Subtract 270 from 300 to get 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 outcome is 21619.866, with a leftover of 0.003.