We look at the division of 322040 by 31 
We want to divide 322040 by 31.

Let's proceed to step 1:
The number 31 fits into 3 0 times, leaving 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.
Append the next digit (2) from the dividend to 3 and continue with: 32 / 31

Let's proceed to step 2:
When dividing 32 by 31, we get 1 with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 1 after subtracting 31 from 32.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 31

Let's proceed to step 3:
The number 31 fits into 12 0 times, leaving a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 10.0
If we subtract 0 from 12, we get 12.
Include the next digit (0) from the dividend after 12, then repeat: 120 / 31

Going ahead to step 4:
The number 31 fits into 120 3 times, leaving a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 103.0
If we take 93 away from 120, we end up with 27.
Grab the next digit (4) from the dividend, add it to 27, then carry on: 274 / 31

Going ahead to step 5:
When dividing 274 by 31, we get 8 with a remainder of 26.
The next digit of our result is 8. 
Result so far: 1038.0
The remainder is 26 after subtracting 248 from 274.
Include the next digit (0) from the dividend after 26, then repeat: 260 / 31

Advancing to step 6:
When dividing 260 by 31, we get 8 with a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 10388.0
If we take 248 away from 260, we end up with 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 7:
120 divided by 31 is 3 with a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 10388.3
If we take 93 away from 120, we end up 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.

On to step 8:
When dividing 270 by 31, we get 8 with a remainder of 22.
Write down 8 as next digit of the result. 
Result so far: 10388.38
Subtract 248 from 270 to 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.

Going ahead to step 9:
31 goes into 220 7 times with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 10388.387
Deduct 217 from 220 and we're left with 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 10:
30 divided by 31 is 0 with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 10388.387
Subtracting 0 from 30 leaves us with 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 11:
31 goes into 300 9 times with a remainder of 21.
Record the quotient 9 as the next digit in the result. 
Result so far: 10388.38709
If we subtract 279 from 300, we 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.

Moving on to step 12:
When dividing 210 by 31, we get 6 with a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 10388.387096
Subtract 186 from 210 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 13:
31 can be fit into 240 7 times, resulting in a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 10388.3870967
If we take 217 away from 240, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 14:
The number 31 fits into 230 7 times, leaving a remainder of 13.
The number 7 becomes the next digit in our result. 
Result so far: 10388.38709677
Deduct 217 from 230 and we're left 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 result is 10388.38709677 with a remainder of 1.3e-08.