We're dividing 799228 by 5 
We want to divide 799228 by 5.

Step 1:
5 goes into 7 1 times with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 5 from 7 leaves us with 2.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 5

Going ahead to step 2:
If we divide 29 by 5, we get 5 and a remainder of 4.
Write down 5 as next digit of the result. 
Result so far: 15.0
Subtracting 25 from 29 leaves us with 4.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 5

Let's proceed to step 3:
49 divided by 5 is 9 with a remainder of 4.
Record the quotient 9 as the next digit in the result. 
Result so far: 159.0
Deduct 45 from 49 and we're left with 4.
Grab the next digit (2) from the dividend, add it to 4, then carry on: 42 / 5

Advancing to step 4:
If we divide 42 by 5, we get 8 and a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 1598.0
Deduct 40 from 42 and we're left with 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 5

Advancing to step 5:
5 goes into 22 4 times with a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 15984.0
If we subtract 20 from 22, we get 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 5

Going ahead to step 6:
5 can be fit into 28 5 times, resulting in a remainder of 3.
The next digit of our result is 5. 
Result so far: 159845.0
Subtract 25 from 28 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
30 divided by 5 is 6 with a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 159845.6
Deduct 30 from 30 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 8:
5 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 159845.6
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.

Let's proceed to step 9:
The number 5 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 159845.6
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.

The final result is 159845.6 with a remainder of 0.0.