We divide 310939 by 5
We want to figure out the number of times 310939 can be divided by 5.

Let's proceed to step 1:
5 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 5

Advancing to step 2:
5 goes into 31 6 times with a remainder of 1.
The next digit of our result is 6. 
Result so far: 6.0
If we subtract 30 from 31, we get 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 5

Moving on to step 3:
The number 5 fits into 10 2 times, leaving a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 62.0
Subtract 10 from 10 to get 0.
Grab the next digit (9) from the dividend, add it to 0, then carry on: 9 / 5

Advancing to step 4:
If we divide 9 by 5, we get 1 and a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 621.0
If we take 5 away from 9, we end up with 4.
Take the next digit (3) from the dividend and append it to 4, then repeat: 43 / 5

Step 5:
If we divide 43 by 5, we get 8 and a remainder of 3.
Use 8 as the next digit of our solution. 
Result so far: 6218.0
Subtract 40 from 43 to get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 5

On to step 6:
The number 5 fits into 39 7 times, leaving a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 62187.0
If we take 35 away from 39, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 7:
When dividing 40 by 5, we get 8 with a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 62187.8
Subtracting 40 from 40 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 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: 62187.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.

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

The final outcome is 62187.8, with a leftover of 0.0.