We divide 340377 by 31
We want to divide 340377 by 31.

Moving on to step 1:
31 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (4) of the dividend behind the 3 and repeat the process: 34 / 31

Advancing to step 2:
If we divide 34 by 31, we get 1 and a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 31 from 34, we get 3.
Fetch the next digit (0) from the dividend, attach it to 3 and continue: 30 / 31

Let's proceed to step 3:
If we divide 30 by 31, we get 0 and a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 10.0
Subtracting 0 from 30 leaves us with 30.
Take the next digit (3) from the dividend and append it to 30, then repeat: 303 / 31

Advancing to step 4:
When dividing 303 by 31, we get 9 with a remainder of 24.
Put 9 as the next digit of the answer. 
Result so far: 109.0
Subtracting 279 from 303 leaves us with 24.
Take the next digit (7) from the dividend and append it to 24, then repeat: 247 / 31

Moving on to step 5:
31 can be fit into 247 7 times, resulting in a remainder of 30.
Put 7 as the next digit of the answer. 
Result so far: 1097.0
If we take 217 away from 247, we end up with 30.
Take the next digit (7) from the dividend and append it to 30, then repeat: 307 / 31

Going ahead to step 6:
31 can be fit into 307 9 times, resulting in a remainder of 28.
Put 9 as the next digit of the answer. 
Result so far: 10979.0
Subtracting 279 from 307 leaves us 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.

On to step 7:
31 can be fit into 280 9 times, resulting in a remainder of 1.
The next digit of our result is 9. 
Result so far: 10979.9
If we take 279 away from 280, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 8:
31 goes into 10 0 times with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 10979.9
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.

Going ahead to step 9:
If we divide 100 by 31, we get 3 and a remainder of 7.
The next digit of our result is 3. 
Result so far: 10979.903
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.

Going ahead to step 10:
If we divide 70 by 31, we get 2 and a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 10979.9032
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.

Let's proceed to step 11:
When dividing 80 by 31, we get 2 with a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 10979.90322
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.

In conclusion, the division gives 10979.90322 with a balance of 1.8e-05.