We divide 4994 by 5
Our goal is to divide 4994 by 5.

On to step 1:
5 goes into 4 0 times with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (9) from the dividend to 4 and continue with: 49 / 5

Moving on to step 2:
When dividing 49 by 5, we get 9 with a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 9.0
Deduct 45 from 49 and we're left with 4.
Bring next digit (9) of the dividend behind the 4 and repeat the process: 49 / 5

Step 3:
When dividing 49 by 5, we get 9 with a remainder of 4.
Record the quotient 9 as the next digit in the result. 
Result so far: 99.0
Deduct 45 from 49 and we're left with 4.
Append the next digit (4) from the dividend to 4 and continue with: 44 / 5

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: 998.0
Subtract 40 from 44 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.

On to step 5:
5 goes into 40 8 times with a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 998.8
Deduct 40 from 40 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.

On to step 6:
5 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 998.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.

Advancing to step 7:
5 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 998.8
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.

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