Let's divide 330904 by 31
We want to divide 330904 by 31.

Moving on to step 1:
31 can be fit into 3 0 times, resulting in a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (3) from the dividend, attach it to 3 and continue: 33 / 31

Step 2:
If we divide 33 by 31, we get 1 and a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 31 from 33, we get 2.
Append the next digit (0) from the dividend to 2 and continue with: 20 / 31

Moving on to step 3:
20 divided by 31 is 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 10.0
Deduct 0 from 20 and we're left with 20.
Include the next digit (9) from the dividend after 20, then repeat: 209 / 31

Advancing to step 4:
31 can be fit into 209 6 times, resulting in a remainder of 23.
Write down 6 as next digit of the result. 
Result so far: 106.0
Subtracting 186 from 209 leaves us with 23.
Bring next digit (0) of the dividend behind the 23 and repeat the process: 230 / 31

Advancing to step 5:
When dividing 230 by 31, we get 7 with a remainder of 13.
The number 7 becomes the next digit in our result. 
Result so far: 1067.0
If we take 217 away from 230, we end up with 13.
Fetch the next digit (4) from the dividend, attach it to 13 and continue: 134 / 31

Let's proceed to step 6:
When dividing 134 by 31, we get 4 with a remainder of 10.
The next digit of our result is 4. 
Result so far: 10674.0
Subtracting 124 from 134 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 7:
When dividing 100 by 31, we get 3 with a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 10674.3
Deduct 93 from 100 and we're left 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.

Moving on to step 8:
31 goes into 70 2 times with a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 10674.32
Subtracting 62 from 70 leaves us with 8.
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 9:
The number 31 fits into 80 2 times, leaving a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 10674.322
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 outcome is 10674.322, with a leftover of 0.0018.