Let's divide 794490 by 5
We want to figure out the number of times 794490 can be divided by 5.

Going ahead to step 1:
When dividing 7 by 5, we get 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 5 from 7, we get 2.
Append the next digit (9) from the dividend to 2 and continue with: 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
Subtract 25 from 29 to get 4.
Grab the next digit (4) from the dividend, add it to 4, then carry on: 44 / 5

Let's proceed to step 3:
5 can be fit into 44 8 times, resulting in a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 158.0
Subtracting 40 from 44 leaves us with 4.
Include the next digit (4) from the dividend after 4, then repeat: 44 / 5

On to step 4:
44 divided by 5 is 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 1588.0
The remainder is 4 after subtracting 40 from 44.
Include the next digit (9) from the dividend after 4, then repeat: 49 / 5

Going ahead to step 5:
5 goes into 49 9 times with a remainder of 4.
Write down 9 as next digit of the result. 
Result so far: 15889.0
If we take 45 away from 49, we end up with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 5

Moving on to step 6:
40 divided by 5 is 8 with a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 158898.0
Subtracting 40 from 40 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.

Step 7:
0 divided by 5 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 158898.0
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.

Step 8:
5 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 158898.0
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.

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