We look at the division of 797485 by 5 
Let's see how many times 5 fits into 797485.

Let's proceed to step 1:
7 divided by 5 is 1 with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 2 after subtracting 5 from 7.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 5

Going ahead to step 2:
When dividing 29 by 5, we get 5 with a remainder of 4.
Put 5 as the next digit of the answer. 
Result so far: 15.0
The remainder is 4 after subtracting 25 from 29.
Append the next digit (7) from the dividend to 4 and continue with: 47 / 5

Moving on to step 3:
5 goes into 47 9 times with a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 159.0
If we subtract 45 from 47, we get 2.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 5

Step 4:
24 divided by 5 is 4 with a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 1594.0
If we subtract 20 from 24, we get 4.
Include the next digit (8) from the dividend after 4, then repeat: 48 / 5

Let's proceed to step 5:
When dividing 48 by 5, we get 9 with a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 15949.0
The remainder is 3 after subtracting 45 from 48.
Include the next digit (5) from the dividend after 3, then repeat: 35 / 5

Going ahead to step 6:
5 goes into 35 7 times with a remainder of 0.
The next digit of our result is 7. 
Result so far: 159497.0
If we take 35 away from 35, we end up 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 7:
If we divide 0 by 5, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 159497.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
If we divide 0 by 5, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 159497.0
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.

The final result is 159497.0 with a remainder of 0.0.