We look at the division of 312245 by 5 
Let's see how many times 5 fits into 312245.

Step 1:
If we divide 3 by 5, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 5

On to step 2:
31 divided by 5 is 6 with a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 6.0
If we subtract 30 from 31, we get 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 5

Step 3:
12 divided by 5 is 2 with a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 62.0
If we take 10 away from 12, we end up with 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 5

Let's proceed to step 4:
22 divided by 5 is 4 with a remainder of 2.
The next digit of our result is 4. 
Result so far: 624.0
Subtracting 20 from 22 leaves us with 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 5

Moving on to step 5:
24 divided by 5 is 4 with a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 6244.0
If we subtract 20 from 24, we get 4.
Fetch the next digit (5) from the dividend, attach it to 4 and continue: 45 / 5

Going ahead to step 6:
When dividing 45 by 5, we get 9 with a remainder of 0.
Use 9 as the next digit of our solution. 
Result so far: 62449.0
If we subtract 45 from 45, 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.

On to step 7:
If we divide 0 by 5, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 62449.0
If we take 0 away from 0, 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.

Let's proceed 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: 62449.0
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.

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