Let's divide 361318 by 31
Let's see how many times 31 fits into 361318.

Moving on to step 1:
The number 31 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Fetch the next digit (6) from the dividend, attach it to 3 and continue: 36 / 31

On to step 2:
31 goes into 36 1 times with a remainder of 5.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 5 after subtracting 31 from 36.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 31

Moving on to step 3:
31 can be fit into 51 1 times, resulting in a remainder of 20.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
Deduct 31 from 51 and we're left with 20.
Grab the next digit (3) from the dividend, add it to 20, then carry on: 203 / 31

Moving on to step 4:
31 goes into 203 6 times with a remainder of 17.
The number 6 becomes the next digit in our result. 
Result so far: 116.0
Deduct 186 from 203 and we're left with 17.
Grab the next digit (1) from the dividend, add it to 17, then carry on: 171 / 31

Going ahead to step 5:
When dividing 171 by 31, we get 5 with a remainder of 16.
The next digit of our result is 5. 
Result so far: 1165.0
If we take 155 away from 171, we end up with 16.
Fetch the next digit (8) from the dividend, attach it to 16 and continue: 168 / 31

On to step 6:
31 goes into 168 5 times with a remainder of 13.
The next digit of our result is 5. 
Result so far: 11655.0
The remainder is 13 after subtracting 155 from 168.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 7:
The number 31 fits into 130 4 times, leaving a remainder of 6.
Put 4 as the next digit of the answer. 
Result so far: 11655.4
Subtract 124 from 130 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 8:
If we divide 60 by 31, we get 1 and a remainder of 29.
Use 1 as the next digit of our solution. 
Result so far: 11655.41
Subtract 31 from 60 to get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 9:
31 goes into 290 9 times with a remainder of 11.
The number 9 becomes the next digit in our result. 
Result so far: 11655.419
Subtract 279 from 290 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 10:
31 goes into 110 3 times with a remainder of 17.
The number 3 becomes the next digit in our result. 
Result so far: 11655.4193
Deduct 93 from 110 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 11:
31 can be fit into 170 5 times, resulting in a remainder of 15.
The next digit of our result is 5. 
Result so far: 11655.41935
If we subtract 155 from 170, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 12:
The number 31 fits into 150 4 times, leaving a remainder of 26.
The next digit of our result is 4. 
Result so far: 11655.419354
Subtracting 124 from 150 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 13:
If we divide 260 by 31, we get 8 and a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 11655.4193548
If we subtract 248 from 260, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 14:
If we divide 120 by 31, we get 3 and a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 11655.41935483
Deduct 93 from 120 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

The final result is 11655.41935483 with a remainder of 2.7e-08.