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

On to step 1:
6 divided by 5 is 1 with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 5 from 6 and we're left with 1.
Include the next digit (3) from the dividend after 1, then repeat: 13 / 5

Let's proceed to step 2:
When dividing 13 by 5, we get 2 with a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 12.0
If we subtract 10 from 13, we get 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 5

Moving on to step 3:
If we divide 31 by 5, we get 6 and a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 126.0
Subtracting 30 from 31 leaves us with 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 5

Advancing to step 4:
12 divided by 5 is 2 with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 1262.0
Subtract 10 from 12 to get 2.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 5

Moving on to step 5:
The number 5 fits into 23 4 times, leaving a remainder of 3.
The number 4 becomes the next digit in our result. 
Result so far: 12624.0
Subtracting 20 from 23 leaves us with 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 5

Step 6:
The number 5 fits into 39 7 times, leaving a remainder of 4.
The next digit of our result is 7. 
Result so far: 126247.0
Subtract 35 from 39 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.

Going ahead to step 7:
If we divide 40 by 5, we get 8 and a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 126247.8
If we take 40 away from 40, we end up 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:
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: 126247.8
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.

Moving on to step 9:
The number 5 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 126247.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.

Our division results in 126247.8 with a remaining 0.0.