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

On to step 1:
5 goes into 7 1 times with a remainder of 2.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 5 from 7 to get 2.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 5

Step 2:
5 can be fit into 29 5 times, resulting in a remainder of 4.
Record the quotient 5 as the next digit in the result. 
Result so far: 15.0
If we subtract 25 from 29, we get 4.
Fetch the next digit (4) from the dividend, attach it to 4 and continue: 44 / 5

Step 3:
5 goes into 44 8 times with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 158.0
If we take 40 away from 44, we end up with 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 5

Going ahead to step 4:
5 goes into 42 8 times with a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 1588.0
If we take 40 away from 42, we end up with 2.
Bring next digit (6) of the dividend behind the 2 and repeat the process: 26 / 5

Advancing to step 5:
The number 5 fits into 26 5 times, leaving a remainder of 1.
Write down 5 as next digit of the result. 
Result so far: 15885.0
Deduct 25 from 26 and we're left with 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 5

On to step 6:
If we divide 17 by 5, we get 3 and a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 158853.0
Deduct 15 from 17 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
If we divide 20 by 5, we get 4 and a remainder of 0.
The next digit of our result is 4. 
Result so far: 158853.4
If we subtract 20 from 20, 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:
5 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 158853.4
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.

Let's proceed to step 9:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 158853.4
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 158853.4 with a remaining 0.0.