We're dividing 12940367 by 343 
We want to divide 12940367 by 343.

Advancing to step 1:
343 goes into 1 0 times with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 343

Going ahead to step 2:
If we divide 12 by 343, we get 0 and a remainder of 12.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 12 and we're left with 12.
Grab the next digit (9) from the dividend, add it to 12, then carry on: 129 / 343

On to step 3:
129 divided by 343 is 0 with a remainder of 129.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 129 and we're left with 129.
Grab the next digit (4) from the dividend, add it to 129, then carry on: 1294 / 343

Advancing to step 4:
1294 divided by 343 is 3 with a remainder of 265.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtract 1029 from 1294 to get 265.
Take the next digit (0) from the dividend and append it to 265, then repeat: 2650 / 343

Moving on to step 5:
2650 divided by 343 is 7 with a remainder of 249.
The next digit of our result is 7. 
Result so far: 37.0
The remainder is 249 after subtracting 2401 from 2650.
Grab the next digit (3) from the dividend, add it to 249, then carry on: 2493 / 343

Moving on to step 6:
The number 343 fits into 2493 7 times, leaving a remainder of 92.
Use 7 as the next digit of our solution. 
Result so far: 377.0
If we take 2401 away from 2493, we end up with 92.
Grab the next digit (6) from the dividend, add it to 92, then carry on: 926 / 343

Let's proceed to step 7:
343 can be fit into 926 2 times, resulting in a remainder of 240.
Put 2 as the next digit of the answer. 
Result so far: 3772.0
Deduct 686 from 926 and we're left with 240.
Append the next digit (7) from the dividend to 240 and continue with: 2407 / 343

Let's proceed to step 8:
If we divide 2407 by 343, we get 7 and a remainder of 6.
The number 7 becomes the next digit in our result. 
Result so far: 37727.0
Subtract 2401 from 2407 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 9:
343 can be fit into 60 0 times, resulting in a remainder of 60.
The number 0 becomes the next digit in our result. 
Result so far: 37727.0
Subtract 0 from 60 to get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

On to step 10:
600 divided by 343 is 1 with a remainder of 257.
The next digit of our result is 1. 
Result so far: 37727.01
Deduct 343 from 600 and we're left with 257.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2570, and continue the process.

On to step 11:
343 can be fit into 2570 7 times, resulting in a remainder of 169.
The number 7 becomes the next digit in our result. 
Result so far: 37727.017
Deduct 2401 from 2570 and we're left with 169.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1690, and continue the process.

Moving on to step 12:
The number 343 fits into 1690 4 times, leaving a remainder of 318.
Record the quotient 4 as the next digit in the result. 
Result so far: 37727.0174
Subtracting 1372 from 1690 leaves us with 318.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3180, and continue the process.

On to step 13:
343 can be fit into 3180 9 times, resulting in a remainder of 93.
Use 9 as the next digit of our solution. 
Result so far: 37727.01749
Deduct 3087 from 3180 and we're left with 93.
Since there are no more digits in the dividend, we add a zero to the remainder making it 930, and continue the process.

Step 14:
If we divide 930 by 343, we get 2 and a remainder of 244.
The next digit of our result is 2. 
Result so far: 37727.017492
If we take 686 away from 930, we end up with 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

Going ahead to step 15:
2440 divided by 343 is 7 with a remainder of 39.
Record the quotient 7 as the next digit in the result. 
Result so far: 37727.0174927
Deduct 2401 from 2440 and we're left with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Let's proceed to step 16:
343 goes into 390 1 times with a remainder of 47.
Put 1 as the next digit of the answer. 
Result so far: 37727.01749271
Subtracting 343 from 390 leaves us with 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

The final outcome is 37727.01749271, with a leftover of 4.7e-08.