315980 ÷ 31 
We're looking to find how many times 31 goes into 315980.

On to step 1:
The number 31 fits into 3 0 times, leaving 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.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 31

Let's proceed to step 2:
31 goes into 31 1 times with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 31 from 31 leaves us with 0.
Include the next digit (5) from the dividend after 0, then repeat: 5 / 31

Advancing to step 3:
The number 31 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 10.0
Subtract 0 from 5 to get 5.
Fetch the next digit (9) from the dividend, attach it to 5 and continue: 59 / 31

Step 4:
If we divide 59 by 31, we get 1 and a remainder of 28.
The number 1 becomes the next digit in our result. 
Result so far: 101.0
Subtracting 31 from 59 leaves us with 28.
Take the next digit (8) from the dividend and append it to 28, then repeat: 288 / 31

Advancing to step 5:
288 divided by 31 is 9 with a remainder of 9.
The number 9 becomes the next digit in our result. 
Result so far: 1019.0
Subtracting 279 from 288 leaves us with 9.
Bring next digit (0) of the dividend behind the 9 and repeat the process: 90 / 31

Moving on to step 6:
When dividing 90 by 31, we get 2 with a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 10192.0
Deduct 62 from 90 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 7:
31 goes into 280 9 times with a remainder of 1.
The next digit of our result is 9. 
Result so far: 10192.9
Deduct 279 from 280 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 8:
31 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 10192.9
Subtracting 0 from 10 leaves us 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.

Step 9:
100 divided by 31 is 3 with a remainder of 7.
The next digit of our result is 3. 
Result so far: 10192.903
If we subtract 93 from 100, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 10:
The number 31 fits into 70 2 times, leaving a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 10192.9032
If we subtract 62 from 70, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 11:
80 divided by 31 is 2 with a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 10192.90322
The remainder is 18 after subtracting 62 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Our division results in 10192.90322 with a remaining 1.8e-05.