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

Let's proceed to step 1:
When dividing 3 by 31, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (3) from the dividend and append it to 3, then repeat: 33 / 31

On to step 2:
33 divided by 31 is 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 31 from 33 and we're left with 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 31

Let's proceed to step 3:
If we divide 21 by 31, we get 0 and a remainder of 21.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
Subtract 0 from 21 to get 21.
Take the next digit (3) from the dividend and append it to 21, then repeat: 213 / 31

Advancing to step 4:
When dividing 213 by 31, we get 6 with a remainder of 27.
The number 6 becomes the next digit in our result. 
Result so far: 106.0
If we subtract 186 from 213, we get 27.
Take the next digit (6) from the dividend and append it to 27, then repeat: 276 / 31

Advancing to step 5:
If we divide 276 by 31, we get 8 and a remainder of 28.
The number 8 becomes the next digit in our result. 
Result so far: 1068.0
Deduct 248 from 276 and we're left with 28.
Take the next digit (8) from the dividend and append it to 28, then repeat: 288 / 31

Step 6:
31 can be fit into 288 9 times, resulting in a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 10689.0
Subtract 279 from 288 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 7:
90 divided by 31 is 2 with a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 10689.2
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 8:
280 divided by 31 is 9 with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 10689.29
If we subtract 279 from 280, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 9:
31 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 10689.29
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 10:
31 goes into 100 3 times with a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 10689.2903
Subtracting 93 from 100 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 11:
If we divide 70 by 31, we get 2 and a remainder of 8.
The next digit of our result is 2. 
Result so far: 10689.29032
The remainder is 8 after subtracting 62 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 12:
31 can be fit into 80 2 times, resulting in a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 10689.290322
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.

The final result is 10689.290322 with a remainder of 1.8e-06.