We're dividing 797774 by 45 
We're looking to find how many times 45 goes into 797774.

On to step 1:
7 divided by 45 is 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Include the next digit (9) from the dividend after 7, then repeat: 79 / 45

Advancing to step 2:
If we divide 79 by 45, we get 1 and a remainder of 34.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 45 from 79 and we're left with 34.
Bring next digit (7) of the dividend behind the 34 and repeat the process: 347 / 45

On to step 3:
The number 45 fits into 347 7 times, leaving a remainder of 32.
Write down 7 as next digit of the result. 
Result so far: 17.0
Subtract 315 from 347 to get 32.
Bring next digit (7) of the dividend behind the 32 and repeat the process: 327 / 45

Step 4:
When dividing 327 by 45, we get 7 with a remainder of 12.
The next digit of our result is 7. 
Result so far: 177.0
Deduct 315 from 327 and we're left with 12.
Include the next digit (7) from the dividend after 12, then repeat: 127 / 45

Moving on to step 5:
127 divided by 45 is 2 with a remainder of 37.
Put 2 as the next digit of the answer. 
Result so far: 1772.0
Subtract 90 from 127 to get 37.
Include the next digit (4) from the dividend after 37, then repeat: 374 / 45

Going ahead to step 6:
The number 45 fits into 374 8 times, leaving a remainder of 14.
Record the quotient 8 as the next digit in the result. 
Result so far: 17728.0
The remainder is 14 after subtracting 360 from 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 7:
45 goes into 140 3 times with a remainder of 5.
Write down 3 as next digit of the result. 
Result so far: 17728.3
Subtract 135 from 140 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.

Advancing to step 8:
If we divide 50 by 45, we get 1 and a remainder of 5.
Record the quotient 1 as the next digit in the result. 
Result so far: 17728.31
The remainder is 5 after subtracting 45 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 9:
When dividing 50 by 45, we get 1 with a remainder of 5.
Put 1 as the next digit of the answer. 
Result so far: 17728.311
Subtract 45 from 50 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.

The final outcome is 17728.311, with a leftover of 0.0005.