We look at the division of 798777 by 20 
We're looking to find how many times 20 goes into 798777.

Moving on to step 1:
20 goes into 7 0 times with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 20

Going ahead to step 2:
20 goes into 79 3 times with a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtracting 60 from 79 leaves us with 19.
Include the next digit (8) from the dividend after 19, then repeat: 198 / 20

Going ahead to step 3:
If we divide 198 by 20, we get 9 and a remainder of 18.
Use 9 as the next digit of our solution. 
Result so far: 39.0
If we subtract 180 from 198, we get 18.
Include the next digit (7) from the dividend after 18, then repeat: 187 / 20

Going ahead to step 4:
187 divided by 20 is 9 with a remainder of 7.
Use 9 as the next digit of our solution. 
Result so far: 399.0
If we take 180 away from 187, we end up with 7.
Grab the next digit (7) from the dividend, add it to 7, then carry on: 77 / 20

Advancing to step 5:
When dividing 77 by 20, we get 3 with a remainder of 17.
The next digit of our result is 3. 
Result so far: 3993.0
Deduct 60 from 77 and we're left with 17.
Include the next digit (7) from the dividend after 17, then repeat: 177 / 20

On to step 6:
177 divided by 20 is 8 with a remainder of 17.
Write down 8 as next digit of the result. 
Result so far: 39938.0
If we subtract 160 from 177, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 7:
If we divide 170 by 20, we get 8 and a remainder of 10.
Record the quotient 8 as the next digit in the result. 
Result so far: 39938.8
The remainder is 10 after subtracting 160 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
The number 20 fits into 100 5 times, leaving a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 39938.85
Deduct 100 from 100 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 9:
If we divide 0 by 20, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 39938.85
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 10:
When dividing 0 by 20, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 39938.85
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 39938.85, with a leftover of 0.0.