798504 ÷ 5 
Let's see how many times 5 fits into 798504.

Going ahead to step 1:
7 divided by 5 is 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 5 from 7 to get 2.
Grab the next digit (9) from the dividend, add it to 2, then carry on: 29 / 5

Advancing to step 2:
The number 5 fits into 29 5 times, leaving a remainder of 4.
Use 5 as the next digit of our solution. 
Result so far: 15.0
If we subtract 25 from 29, we get 4.
Fetch the next digit (8) from the dividend, attach it to 4 and continue: 48 / 5

Let's proceed to step 3:
If we divide 48 by 5, we get 9 and a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 159.0
If we subtract 45 from 48, we get 3.
Grab the next digit (5) from the dividend, add it to 3, then carry on: 35 / 5

Moving on to step 4:
5 can be fit into 35 7 times, resulting in a remainder of 0.
The next digit of our result is 7. 
Result so far: 1597.0
Deduct 35 from 35 and we're left with 0.
Bring next digit (0) of the dividend behind the 0 and repeat the process: 0 / 5

Advancing to step 5:
5 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 15970.0
Subtracting 0 from 0 leaves us with 0.
Append the next digit (4) from the dividend to 0 and continue with: 4 / 5

Moving on to step 6:
5 goes into 4 0 times with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 159700.0
Subtract 0 from 4 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 7:
5 can be fit into 40 8 times, resulting in a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 159700.8
If we take 40 away from 40, 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.

Let's proceed to step 8:
When dividing 0 by 5, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 159700.8
If we take 0 away from 0, 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.

On to step 9:
5 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 159700.8
Subtract 0 from 0 to 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.

After the division, we end up with 159700.8 and a remainder of 0.0.