We divide 40539555 by 339
We want to divide 40539555 by 339.

Step 1:
The number 339 fits into 4 0 times, leaving a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 339

Step 2:
When dividing 40 by 339, we get 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Fetch the next digit (5) from the dividend, attach it to 40 and continue: 405 / 339

Step 3:
339 can be fit into 405 1 times, resulting in a remainder of 66.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 339 away from 405, we end up with 66.
Include the next digit (3) from the dividend after 66, then repeat: 663 / 339

Moving on to step 4:
339 goes into 663 1 times with a remainder of 324.
Write down 1 as next digit of the result. 
Result so far: 11.0
The remainder is 324 after subtracting 339 from 663.
Append the next digit (9) from the dividend to 324 and continue with: 3249 / 339

Moving on to step 5:
3249 divided by 339 is 9 with a remainder of 198.
The next digit of our result is 9. 
Result so far: 119.0
If we take 3051 away from 3249, we end up with 198.
Take the next digit (5) from the dividend and append it to 198, then repeat: 1985 / 339

Moving on to step 6:
When dividing 1985 by 339, we get 5 with a remainder of 290.
Write down 5 as next digit of the result. 
Result so far: 1195.0
If we subtract 1695 from 1985, we get 290.
Take the next digit (5) from the dividend and append it to 290, then repeat: 2905 / 339

Step 7:
339 goes into 2905 8 times with a remainder of 193.
Put 8 as the next digit of the answer. 
Result so far: 11958.0
The remainder is 193 after subtracting 2712 from 2905.
Bring next digit (5) of the dividend behind the 193 and repeat the process: 1935 / 339

Step 8:
If we divide 1935 by 339, we get 5 and a remainder of 240.
Record the quotient 5 as the next digit in the result. 
Result so far: 119585.0
Subtracting 1695 from 1935 leaves us with 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Advancing to step 9:
The number 339 fits into 2400 7 times, leaving a remainder of 27.
Record the quotient 7 as the next digit in the result. 
Result so far: 119585.7
If we take 2373 away from 2400, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 10:
270 divided by 339 is 0 with a remainder of 270.
Write down 0 as next digit of the result. 
Result so far: 119585.7
Subtract 0 from 270 to get 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

Going ahead to step 11:
If we divide 2700 by 339, we get 7 and a remainder of 327.
The number 7 becomes the next digit in our result. 
Result so far: 119585.707
If we subtract 2373 from 2700, we get 327.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3270, and continue the process.

Step 12:
The number 339 fits into 3270 9 times, leaving a remainder of 219.
Record the quotient 9 as the next digit in the result. 
Result so far: 119585.7079
If we take 3051 away from 3270, we end up with 219.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2190, and continue the process.

On to step 13:
The number 339 fits into 2190 6 times, leaving a remainder of 156.
The number 6 becomes the next digit in our result. 
Result so far: 119585.70796
The remainder is 156 after subtracting 2034 from 2190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

Moving on to step 14:
1560 divided by 339 is 4 with a remainder of 204.
Record the quotient 4 as the next digit in the result. 
Result so far: 119585.707964
Subtracting 1356 from 1560 leaves us with 204.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

Step 15:
2040 divided by 339 is 6 with a remainder of 6.
Write down 6 as next digit of the result. 
Result so far: 119585.7079646
If we subtract 2034 from 2040, we 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 16:
339 can be fit into 60 0 times, resulting in a remainder of 60.
Put 0 as the next digit of the answer. 
Result so far: 119585.7079646
The remainder is 60 after subtracting 0 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

After the division, we end up with 119585.7079646 and a remainder of 6e-08.