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

Advancing to step 1:
45 goes into 7 0 times with a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Bring next digit (9) of the dividend behind the 7 and repeat the process: 79 / 45

On to step 2:
The number 45 fits into 79 1 times, leaving a remainder of 34.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 45 from 79 to get 34.
Include the next digit (7) from the dividend after 34, then repeat: 347 / 45

Advancing to step 3:
When dividing 347 by 45, we get 7 with a remainder of 32.
Record the quotient 7 as the next digit in the result. 
Result so far: 17.0
The remainder is 32 after subtracting 315 from 347.
Append the next digit (8) from the dividend to 32 and continue with: 328 / 45

Step 4:
When dividing 328 by 45, we get 7 with a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 177.0
Subtract 315 from 328 to get 13.
Grab the next digit (8) from the dividend, add it to 13, then carry on: 138 / 45

Step 5:
The number 45 fits into 138 3 times, leaving a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 1773.0
If we take 135 away from 138, we end up with 3.
Append the next digit (4) from the dividend to 3 and continue with: 34 / 45

Moving on to step 6:
If we divide 34 by 45, we get 0 and a remainder of 34.
Record the quotient 0 as the next digit in the result. 
Result so far: 17730.0
If we subtract 0 from 34, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 7:
340 divided by 45 is 7 with a remainder of 25.
The next digit of our result is 7. 
Result so far: 17730.7
The remainder is 25 after subtracting 315 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 8:
If we divide 250 by 45, we get 5 and a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 17730.75
Subtracting 225 from 250 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 9:
45 can be fit into 250 5 times, resulting in a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 17730.755
Deduct 225 from 250 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

After the division, we end up with 17730.755 and a remainder of 0.0025.