We look at the division of 879842 by 5 
We want to figure out the number of times 879842 can be divided by 5.

Let's proceed to step 1:
5 can be fit into 8 1 times, resulting in a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 5 from 8 and we're left with 3.
Grab the next digit (7) from the dividend, add it to 3, then carry on: 37 / 5

Going ahead to step 2:
When dividing 37 by 5, we get 7 with a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 17.0
Deduct 35 from 37 and we're left with 2.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 5

Let's proceed to step 3:
29 divided by 5 is 5 with a remainder of 4.
Use 5 as the next digit of our solution. 
Result so far: 175.0
Subtracting 25 from 29 leaves us with 4.
Include the next digit (8) from the dividend after 4, then repeat: 48 / 5

Moving on to step 4:
When dividing 48 by 5, we get 9 with a remainder of 3.
Use 9 as the next digit of our solution. 
Result so far: 1759.0
Subtracting 45 from 48 leaves us with 3.
Fetch the next digit (4) from the dividend, attach it to 3 and continue: 34 / 5

On to step 5:
34 divided by 5 is 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 17596.0
If we take 30 away from 34, we end up with 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 5

On to step 6:
42 divided by 5 is 8 with a remainder of 2.
The next digit of our result is 8. 
Result so far: 175968.0
If we take 40 away from 42, we end up 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.

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

Going ahead to step 8:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 175968.4
Deduct 0 from 0 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 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: 175968.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.

In conclusion, the division gives 175968.4 with a balance of 0.0.