We divide 340724 by 31
We're looking to find how many times 31 goes into 340724.

Going ahead to step 1:
If we divide 3 by 31, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (4) from the dividend to 3 and continue with: 34 / 31

Going ahead to step 2:
34 divided by 31 is 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 3 after subtracting 31 from 34.
Fetch the next digit (0) from the dividend, attach it to 3 and continue: 30 / 31

Moving on to step 3:
31 can be fit into 30 0 times, resulting in a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 10.0
If we subtract 0 from 30, we get 30.
Append the next digit (7) from the dividend to 30 and continue with: 307 / 31

Advancing to step 4:
31 goes into 307 9 times with a remainder of 28.
Use 9 as the next digit of our solution. 
Result so far: 109.0
If we take 279 away from 307, we end up with 28.
Grab the next digit (2) from the dividend, add it to 28, then carry on: 282 / 31

On to step 5:
If we divide 282 by 31, we get 9 and a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 1099.0
Deduct 279 from 282 and we're left with 3.
Bring next digit (4) of the dividend behind the 3 and repeat the process: 34 / 31

Let's proceed to step 6:
The number 31 fits into 34 1 times, leaving a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 10991.0
If we take 31 away from 34, we end up 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.

Let's proceed to step 7:
31 goes into 30 0 times with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 10991.0
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.

Going ahead to step 8:
If we divide 300 by 31, we get 9 and a remainder of 21.
Write down 9 as next digit of the result. 
Result so far: 10991.09
Subtracting 279 from 300 leaves us with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Step 9:
The number 31 fits into 210 6 times, leaving a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 10991.096
If we subtract 186 from 210, we 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.

Step 10:
31 goes into 240 7 times with a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 10991.0967
If we subtract 217 from 240, we 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.

Moving on to step 11:
When dividing 230 by 31, we get 7 with a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 10991.09677
Subtracting 217 from 230 leaves us 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 10991.09677 with a remainder of 1.3e-05.