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

Moving on to step 1:
3 divided by 31 is 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 31

Let's proceed to step 2:
The number 31 fits into 33 1 times, leaving a remainder of 2.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 31 from 33 and we're left with 2.
Take the next digit (0) from the dividend and append it to 2, then repeat: 20 / 31

Moving on to step 3:
When dividing 20 by 31, we get 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 10.0
If we subtract 0 from 20, we get 20.
Include the next digit (8) from the dividend after 20, then repeat: 208 / 31

Let's proceed to step 4:
When dividing 208 by 31, we get 6 with a remainder of 22.
The number 6 becomes the next digit in our result. 
Result so far: 106.0
Deduct 186 from 208 and we're left with 22.
Bring next digit (4) of the dividend behind the 22 and repeat the process: 224 / 31

Advancing to step 5:
31 goes into 224 7 times with a remainder of 7.
Use 7 as the next digit of our solution. 
Result so far: 1067.0
The remainder is 7 after subtracting 217 from 224.
Fetch the next digit (0) from the dividend, attach it to 7 and continue: 70 / 31

Going ahead to step 6:
70 divided by 31 is 2 with a remainder of 8.
The next digit of our result is 2. 
Result so far: 10672.0
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.

On to step 7:
80 divided by 31 is 2 with a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 10672.2
Deduct 62 from 80 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 8:
180 divided by 31 is 5 with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 10672.25
The remainder is 25 after subtracting 155 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 9:
250 divided by 31 is 8 with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 10672.258
Deduct 248 from 250 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 10:
If we divide 20 by 31, we get 0 and a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 10672.258
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 11:
If we divide 200 by 31, we get 6 and a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 10672.25806
If we take 186 away from 200, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 12:
When dividing 140 by 31, we get 4 with a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 10672.258064
Subtracting 124 from 140 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 13:
31 can be fit into 160 5 times, resulting in a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 10672.2580645
If we subtract 155 from 160, we 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.

Advancing to step 14:
50 divided by 31 is 1 with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 10672.25806451
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

After the division, we end up with 10672.25806451 and a remainder of 1.9e-08.