338140 ÷ 39 
Let's see how many times 39 fits into 338140.

Going ahead to step 1:
39 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 39

On to step 2:
When dividing 33 by 39, we get 0 with a remainder of 33.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 33 to get 33.
Append the next digit (8) from the dividend to 33 and continue with: 338 / 39

Advancing to step 3:
If we divide 338 by 39, we get 8 and a remainder of 26.
Put 8 as the next digit of the answer. 
Result so far: 8.0
The remainder is 26 after subtracting 312 from 338.
Fetch the next digit (1) from the dividend, attach it to 26 and continue: 261 / 39

Advancing to step 4:
If we divide 261 by 39, we get 6 and a remainder of 27.
Record the quotient 6 as the next digit in the result. 
Result so far: 86.0
The remainder is 27 after subtracting 234 from 261.
Take the next digit (4) from the dividend and append it to 27, then repeat: 274 / 39

On to step 5:
If we divide 274 by 39, we get 7 and a remainder of 1.
The next digit of our result is 7. 
Result so far: 867.0
Subtracting 273 from 274 leaves us with 1.
Include the next digit (0) from the dividend after 1, then repeat: 10 / 39

On to step 6:
39 can be fit into 10 0 times, resulting in a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 8670.0
Subtract 0 from 10 to 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 7:
100 divided by 39 is 2 with a remainder of 22.
Use 2 as the next digit of our solution. 
Result so far: 8670.2
Subtracting 78 from 100 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 8:
If we divide 220 by 39, we get 5 and a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 8670.25
If we take 195 away from 220, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 9:
39 goes into 250 6 times with a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 8670.256
The remainder is 16 after subtracting 234 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 10:
When dividing 160 by 39, we get 4 with a remainder of 4.
Record the quotient 4 as the next digit in the result. 
Result so far: 8670.2564
Subtracting 156 from 160 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 11:
39 goes into 40 1 times with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 8670.25641
If we take 39 away from 40, 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.

Moving on to step 12:
When dividing 10 by 39, we get 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 8670.25641
If we take 0 away from 10, we end up with 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 13:
If we divide 100 by 39, we get 2 and a remainder of 22.
The number 2 becomes the next digit in our result. 
Result so far: 8670.2564102
If we subtract 78 from 100, we 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 14:
39 goes into 220 5 times with a remainder of 25.
The next digit of our result is 5. 
Result so far: 8670.25641025
If we subtract 195 from 220, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

The final outcome is 8670.25641025, with a leftover of 2.5e-08.