6940539 divided by 342 
We're looking to find how many times 342 goes into 6940539.

Advancing to step 1:
When dividing 6 by 342, we get 0 with a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Fetch the next digit (9) from the dividend, attach it to 6 and continue: 69 / 342

On to step 2:
The number 342 fits into 69 0 times, leaving a remainder of 69.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 69, we get 69.
Append the next digit (4) from the dividend to 69 and continue with: 694 / 342

Moving on to step 3:
694 divided by 342 is 2 with a remainder of 10.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtract 684 from 694 to get 10.
Bring next digit (0) of the dividend behind the 10 and repeat the process: 100 / 342

Going ahead to step 4:
342 goes into 100 0 times with a remainder of 100.
The next digit of our result is 0. 
Result so far: 20.0
If we take 0 away from 100, we end up with 100.
Fetch the next digit (5) from the dividend, attach it to 100 and continue: 1005 / 342

Let's proceed to step 5:
When dividing 1005 by 342, we get 2 with a remainder of 321.
The next digit of our result is 2. 
Result so far: 202.0
If we take 684 away from 1005, we end up with 321.
Bring next digit (3) of the dividend behind the 321 and repeat the process: 3213 / 342

On to step 6:
If we divide 3213 by 342, we get 9 and a remainder of 135.
Record the quotient 9 as the next digit in the result. 
Result so far: 2029.0
Subtract 3078 from 3213 to get 135.
Take the next digit (9) from the dividend and append it to 135, then repeat: 1359 / 342

Moving on to step 7:
If we divide 1359 by 342, we get 3 and a remainder of 333.
Put 3 as the next digit of the answer. 
Result so far: 20293.0
Subtract 1026 from 1359 to get 333.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3330, and continue the process.

Step 8:
The number 342 fits into 3330 9 times, leaving a remainder of 252.
The number 9 becomes the next digit in our result. 
Result so far: 20293.9
Subtracting 3078 from 3330 leaves us with 252.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2520, and continue the process.

Going ahead to step 9:
The number 342 fits into 2520 7 times, leaving a remainder of 126.
The number 7 becomes the next digit in our result. 
Result so far: 20293.97
If we subtract 2394 from 2520, we get 126.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1260, and continue the process.

Step 10:
When dividing 1260 by 342, we get 3 with a remainder of 234.
Write down 3 as next digit of the result. 
Result so far: 20293.973
The remainder is 234 after subtracting 1026 from 1260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2340, and continue the process.

Moving on to step 11:
If we divide 2340 by 342, we get 6 and a remainder of 288.
Put 6 as the next digit of the answer. 
Result so far: 20293.9736
The remainder is 288 after subtracting 2052 from 2340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2880, and continue the process.

On to step 12:
If we divide 2880 by 342, we get 8 and a remainder of 144.
Put 8 as the next digit of the answer. 
Result so far: 20293.97368
Deduct 2736 from 2880 and we're left with 144.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

Step 13:
The number 342 fits into 1440 4 times, leaving a remainder of 72.
The number 4 becomes the next digit in our result. 
Result so far: 20293.973684
Subtract 1368 from 1440 to get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Advancing to step 14:
342 can be fit into 720 2 times, resulting in a remainder of 36.
Record the quotient 2 as the next digit in the result. 
Result so far: 20293.9736842
Subtracting 684 from 720 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 15:
If we divide 360 by 342, we get 1 and a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 20293.97368421
If we take 342 away from 360, we end up with 18.
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 result is 20293.97368421 with a remainder of 1.8e-08.