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

Going ahead to step 1:
The number 13 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 13

Let's proceed to step 2:
13 can be fit into 31 2 times, resulting in a remainder of 5.
Write down 2 as next digit of the result. 
Result so far: 2.0
The remainder is 5 after subtracting 26 from 31.
Append the next digit (5) from the dividend to 5 and continue with: 55 / 13

On to step 3:
When dividing 55 by 13, we get 4 with a remainder of 3.
Use 4 as the next digit of our solution. 
Result so far: 24.0
If we subtract 52 from 55, we get 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 13

Moving on to step 4:
13 goes into 31 2 times with a remainder of 5.
The next digit of our result is 2. 
Result so far: 242.0
Subtracting 26 from 31 leaves us with 5.
Grab the next digit (2) from the dividend, add it to 5, then carry on: 52 / 13

Going ahead to step 5:
The number 13 fits into 52 4 times, leaving a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 2424.0
If we subtract 52 from 52, we get 0.
Include the next digit (4) from the dividend after 0, then repeat: 4 / 13

Going ahead to step 6:
13 goes into 4 0 times with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 24240.0
The remainder is 4 after subtracting 0 from 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:
The number 13 fits into 40 3 times, leaving a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 24240.3
If we subtract 39 from 40, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 8:
If we divide 10 by 13, we get 0 and a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 24240.3
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 9:
13 can be fit into 100 7 times, resulting in a remainder of 9.
Use 7 as the next digit of our solution. 
Result so far: 24240.307
Subtracting 91 from 100 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 10:
The number 13 fits into 90 6 times, leaving a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 24240.3076
Deduct 78 from 90 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 11:
13 goes into 120 9 times with a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 24240.30769
Subtracting 117 from 120 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 12:
13 can be fit into 30 2 times, resulting in a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 24240.307692
Deduct 26 from 30 and we're left 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.

Advancing to step 13:
If we divide 40 by 13, we get 3 and a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 24240.3076923
Subtract 39 from 40 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 14:
The number 13 fits into 10 0 times, leaving a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 24240.3076923
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final result is 24240.3076923 with a remainder of 1e-08.