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

Step 1:
When dividing 4 by 5, we get 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Bring next digit (9) of the dividend behind the 4 and repeat the process: 49 / 5

On to step 2:
The number 5 fits into 49 9 times, leaving a remainder of 4.
Use 9 as the next digit of our solution. 
Result so far: 9.0
Subtracting 45 from 49 leaves us with 4.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 5

Going ahead to step 3:
49 divided by 5 is 9 with a remainder of 4.
The number 9 becomes the next digit in our result. 
Result so far: 99.0
Deduct 45 from 49 and we're left with 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 5

Going ahead to step 4:
The number 5 fits into 47 9 times, leaving a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 999.0
The remainder is 2 after subtracting 45 from 47.
Grab the next digit (8) from the dividend, add it to 2, then carry on: 28 / 5

Step 5:
5 goes into 28 5 times with a remainder of 3.
The number 5 becomes the next digit in our result. 
Result so far: 9995.0
Subtract 25 from 28 to get 3.
Grab the next digit (2) from the dividend, add it to 3, then carry on: 32 / 5

Advancing to step 6:
The number 5 fits into 32 6 times, leaving a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 99956.0
If we subtract 30 from 32, we get 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:
When dividing 20 by 5, we get 4 with a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 99956.4
Subtract 20 from 20 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.

Going ahead to step 8:
0 divided by 5 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 99956.4
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.

Step 9:
5 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 99956.4
Subtracting 0 from 0 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.

The final result is 99956.4 with a remainder of 0.0.