Let's divide 862497 by 5
We're looking to find how many times 5 goes into 862497.

On to step 1:
When dividing 8 by 5, we get 1 with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 5 from 8 to get 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 5

Moving on to step 2:
36 divided by 5 is 7 with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 17.0
Deduct 35 from 36 and we're left with 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 5

Going ahead to step 3:
The number 5 fits into 12 2 times, leaving a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 172.0
The remainder is 2 after subtracting 10 from 12.
Append the next digit (4) from the dividend to 2 and continue with: 24 / 5

Advancing to step 4:
The number 5 fits into 24 4 times, leaving a remainder of 4.
The next digit of our result is 4. 
Result so far: 1724.0
The remainder is 4 after subtracting 20 from 24.
Include the next digit (9) from the dividend after 4, then repeat: 49 / 5

Moving on to step 5:
49 divided by 5 is 9 with a remainder of 4.
The number 9 becomes the next digit in our result. 
Result so far: 17249.0
Subtract 45 from 49 to get 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 5

Moving on to step 6:
When dividing 47 by 5, we get 9 with a remainder of 2.
The next digit of our result is 9. 
Result so far: 172499.0
If we take 45 away from 47, 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.

Going ahead to step 7:
If we divide 20 by 5, we get 4 and a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 172499.4
Subtracting 20 from 20 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.

Going ahead to step 8:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 172499.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.

On to step 9:
The number 5 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 172499.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 172499.4 with a balance of 0.0.