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

Let's proceed to step 1:
When dividing 9 by 45, we get 0 with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Take the next digit (7) from the dividend and append it to 9, then repeat: 97 / 45

Step 2:
45 goes into 97 2 times with a remainder of 7.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtracting 90 from 97 leaves us with 7.
Fetch the next digit (0) from the dividend, attach it to 7 and continue: 70 / 45

Advancing to step 3:
If we divide 70 by 45, we get 1 and a remainder of 25.
Write down 1 as next digit of the result. 
Result so far: 21.0
The remainder is 25 after subtracting 45 from 70.
Bring next digit (8) of the dividend behind the 25 and repeat the process: 258 / 45

Step 4:
The number 45 fits into 258 5 times, leaving a remainder of 33.
Record the quotient 5 as the next digit in the result. 
Result so far: 215.0
Subtracting 225 from 258 leaves us with 33.
Bring next digit (6) of the dividend behind the 33 and repeat the process: 336 / 45

Advancing to step 5:
45 goes into 336 7 times with a remainder of 21.
Put 7 as the next digit of the answer. 
Result so far: 2157.0
Subtract 315 from 336 to get 21.
Take the next digit (2) from the dividend and append it to 21, then repeat: 212 / 45

Advancing to step 6:
45 goes into 212 4 times with a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 21574.0
Subtracting 180 from 212 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 7:
If we divide 320 by 45, we get 7 and a remainder of 5.
Put 7 as the next digit of the answer. 
Result so far: 21574.7
Subtract 315 from 320 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 8:
45 can be fit into 50 1 times, resulting in a remainder of 5.
Write down 1 as next digit of the result. 
Result so far: 21574.71
Subtracting 45 from 50 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 9:
45 can be fit into 50 1 times, resulting in a remainder of 5.
Use 1 as the next digit of our solution. 
Result so far: 21574.711
Subtracting 45 from 50 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

After the division, we end up with 21574.711 and a remainder of 0.0005.