Let's divide 782397 by 5
Our goal is to divide 782397 by 5.

Let's proceed to step 1:
7 divided by 5 is 1 with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 2 after subtracting 5 from 7.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 5

Let's proceed to step 2:
5 can be fit into 28 5 times, resulting in a remainder of 3.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
Subtract 25 from 28 to get 3.
Bring next digit (2) of the dividend behind the 3 and repeat the process: 32 / 5

On to step 3:
If we divide 32 by 5, we get 6 and a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 156.0
Subtract 30 from 32 to get 2.
Grab the next digit (3) from the dividend, add it to 2, then carry on: 23 / 5

Step 4:
The number 5 fits into 23 4 times, leaving a remainder of 3.
Put 4 as the next digit of the answer. 
Result so far: 1564.0
If we take 20 away from 23, we end up with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 5

On to step 5:
5 goes into 39 7 times with a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 15647.0
If we subtract 35 from 39, we get 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 5

Going ahead to step 6:
5 can be fit into 47 9 times, resulting in a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 156479.0
If we subtract 45 from 47, 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.

On to step 7:
The number 5 fits into 20 4 times, leaving a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 156479.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:
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: 156479.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.

Let's proceed to step 9:
When dividing 0 by 5, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 156479.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.

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