Let's divide 368488 by 31
We want to figure out the number of times 368488 can be divided by 31.

Let's proceed to step 1:
31 can be fit into 3 0 times, resulting in a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 31

Going ahead to step 2:
31 can be fit into 36 1 times, resulting in a remainder of 5.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 31 away from 36, we end up with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 31

Advancing to step 3:
31 can be fit into 58 1 times, resulting in a remainder of 27.
Write down 1 as next digit of the result. 
Result so far: 11.0
If we subtract 31 from 58, we get 27.
Include the next digit (4) from the dividend after 27, then repeat: 274 / 31

Let's proceed to step 4:
The number 31 fits into 274 8 times, leaving a remainder of 26.
The next digit of our result is 8. 
Result so far: 118.0
If we subtract 248 from 274, we get 26.
Bring next digit (8) of the dividend behind the 26 and repeat the process: 268 / 31

Moving on to step 5:
31 goes into 268 8 times with a remainder of 20.
Write down 8 as next digit of the result. 
Result so far: 1188.0
If we take 248 away from 268, we end up with 20.
Take the next digit (8) from the dividend and append it to 20, then repeat: 208 / 31

Let's proceed to step 6:
When dividing 208 by 31, we get 6 with a remainder of 22.
Use 6 as the next digit of our solution. 
Result so far: 11886.0
If we subtract 186 from 208, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 7:
When dividing 220 by 31, we get 7 with a remainder of 3.
The next digit of our result is 7. 
Result so far: 11886.7
If we subtract 217 from 220, we get 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 8:
31 goes into 30 0 times with a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 11886.7
Subtract 0 from 30 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 9:
300 divided by 31 is 9 with a remainder of 21.
The next digit of our result is 9. 
Result so far: 11886.709
Subtract 279 from 300 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 10:
The number 31 fits into 210 6 times, leaving a remainder of 24.
Put 6 as the next digit of the answer. 
Result so far: 11886.7096
The remainder is 24 after subtracting 186 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 11:
31 can be fit into 240 7 times, resulting in a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 11886.70967
Subtract 217 from 240 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Step 12:
31 goes into 230 7 times with a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 11886.709677
If we take 217 away from 230, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The final outcome is 11886.709677, with a leftover of 1.3e-06.