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

Going ahead to step 1:
318 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 318

Moving on to step 2:
318 can be fit into 31 0 times, resulting in a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Bring next digit (9) of the dividend behind the 31 and repeat the process: 319 / 318

Going ahead to step 3:
318 can be fit into 319 1 times, resulting in a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 318 from 319 leaves us with 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 318

Let's proceed to step 4:
The number 318 fits into 18 0 times, leaving a remainder of 18.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Subtract 0 from 18 to get 18.
Fetch the next digit (7) from the dividend, attach it to 18 and continue: 187 / 318

On to step 5:
318 can be fit into 187 0 times, resulting in a remainder of 187.
Write down 0 as next digit of the result. 
Result so far: 100.0
Deduct 0 from 187 and we're left with 187.
Take the next digit (3) from the dividend and append it to 187, then repeat: 1873 / 318

Step 6:
318 goes into 1873 5 times with a remainder of 283.
The next digit of our result is 5. 
Result so far: 1005.0
Deduct 1590 from 1873 and we're left with 283.
Fetch the next digit (0) from the dividend, attach it to 283 and continue: 2830 / 318

Let's proceed to step 7:
2830 divided by 318 is 8 with a remainder of 286.
Use 8 as the next digit of our solution. 
Result so far: 10058.0
If we subtract 2544 from 2830, we get 286.
Append the next digit (7) from the dividend to 286 and continue with: 2867 / 318

Step 8:
When dividing 2867 by 318, we get 9 with a remainder of 5.
Record the quotient 9 as the next digit in the result. 
Result so far: 100589.0
Subtract 2862 from 2867 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 9:
50 divided by 318 is 0 with a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 100589.0
Subtracting 0 from 50 leaves us with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Moving on to step 10:
When dividing 500 by 318, we get 1 with a remainder of 182.
Write down 1 as next digit of the result. 
Result so far: 100589.01
The remainder is 182 after subtracting 318 from 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

Step 11:
318 can be fit into 1820 5 times, resulting in a remainder of 230.
Use 5 as the next digit of our solution. 
Result so far: 100589.015
If we take 1590 away from 1820, we end up with 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

On to step 12:
When dividing 2300 by 318, we get 7 with a remainder of 74.
Record the quotient 7 as the next digit in the result. 
Result so far: 100589.0157
Subtract 2226 from 2300 to get 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Going ahead to step 13:
318 goes into 740 2 times with a remainder of 104.
Put 2 as the next digit of the answer. 
Result so far: 100589.01572
Subtracting 636 from 740 leaves us with 104.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

Moving on to step 14:
The number 318 fits into 1040 3 times, leaving a remainder of 86.
The next digit of our result is 3. 
Result so far: 100589.015723
If we subtract 954 from 1040, we get 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Let's proceed to step 15:
860 divided by 318 is 2 with a remainder of 224.
Use 2 as the next digit of our solution. 
Result so far: 100589.0157232
Deduct 636 from 860 and we're left with 224.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2240, and continue the process.

Let's proceed to step 16:
If we divide 2240 by 318, we get 7 and a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 100589.01572327
Subtract 2226 from 2240 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The final result is 100589.01572327 with a remainder of 1.4e-08.