31387129 ÷ 316 
We want to figure out the number of times 31387129 can be divided by 316.

Advancing to step 1:
The number 316 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 316

Step 2:
If we divide 31 by 316, we get 0 and a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Fetch the next digit (3) from the dividend, attach it to 31 and continue: 313 / 316

Going ahead to step 3:
316 goes into 313 0 times with a remainder of 313.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 313 after subtracting 0 from 313.
Take the next digit (8) from the dividend and append it to 313, then repeat: 3138 / 316

Advancing to step 4:
When dividing 3138 by 316, we get 9 with a remainder of 294.
Put 9 as the next digit of the answer. 
Result so far: 9.0
Subtracting 2844 from 3138 leaves us with 294.
Bring next digit (7) of the dividend behind the 294 and repeat the process: 2947 / 316

Moving on to step 5:
If we divide 2947 by 316, we get 9 and a remainder of 103.
The next digit of our result is 9. 
Result so far: 99.0
Subtract 2844 from 2947 to get 103.
Fetch the next digit (1) from the dividend, attach it to 103 and continue: 1031 / 316

Moving on to step 6:
1031 divided by 316 is 3 with a remainder of 83.
Use 3 as the next digit of our solution. 
Result so far: 993.0
Subtract 948 from 1031 to get 83.
Bring next digit (2) of the dividend behind the 83 and repeat the process: 832 / 316

Going ahead to step 7:
The number 316 fits into 832 2 times, leaving a remainder of 200.
The next digit of our result is 2. 
Result so far: 9932.0
Subtract 632 from 832 to get 200.
Fetch the next digit (9) from the dividend, attach it to 200 and continue: 2009 / 316

Moving on to step 8:
If we divide 2009 by 316, we get 6 and a remainder of 113.
Write down 6 as next digit of the result. 
Result so far: 99326.0
If we subtract 1896 from 2009, we get 113.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1130, and continue the process.

Step 9:
When dividing 1130 by 316, we get 3 with a remainder of 182.
Use 3 as the next digit of our solution. 
Result so far: 99326.3
If we take 948 away from 1130, we end up with 182.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

Step 10:
If we divide 1820 by 316, we get 5 and a remainder of 240.
Put 5 as the next digit of the answer. 
Result so far: 99326.35
Deduct 1580 from 1820 and we're left with 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Moving on to step 11:
316 can be fit into 2400 7 times, resulting in a remainder of 188.
Use 7 as the next digit of our solution. 
Result so far: 99326.357
Deduct 2212 from 2400 and we're left with 188.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1880, and continue the process.

On to step 12:
316 can be fit into 1880 5 times, resulting in a remainder of 300.
The next digit of our result is 5. 
Result so far: 99326.3575
The remainder is 300 after subtracting 1580 from 1880.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

On to step 13:
316 can be fit into 3000 9 times, resulting in a remainder of 156.
Write down 9 as next digit of the result. 
Result so far: 99326.35759
If we subtract 2844 from 3000, we get 156.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

On to step 14:
316 goes into 1560 4 times with a remainder of 296.
The next digit of our result is 4. 
Result so far: 99326.357594
The remainder is 296 after subtracting 1264 from 1560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2960, and continue the process.

Going ahead to step 15:
316 can be fit into 2960 9 times, resulting in a remainder of 116.
The next digit of our result is 9. 
Result so far: 99326.3575949
Deduct 2844 from 2960 and we're left with 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Going ahead to step 16:
1160 divided by 316 is 3 with a remainder of 212.
Use 3 as the next digit of our solution. 
Result so far: 99326.35759493
Subtract 948 from 1160 to get 212.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

The final outcome is 99326.35759493, with a leftover of 2.12e-07.