40556089 divided by 338 
Our goal is to divide 40556089 by 338.

Let's proceed to step 1:
338 can be fit into 4 0 times, resulting in a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 338

On to step 2:
338 goes into 40 0 times with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Grab the next digit (5) from the dividend, add it to 40, then carry on: 405 / 338

Going ahead to step 3:
405 divided by 338 is 1 with a remainder of 67.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 338 away from 405, we end up with 67.
Fetch the next digit (5) from the dividend, attach it to 67 and continue: 675 / 338

Moving on to step 4:
If we divide 675 by 338, we get 1 and a remainder of 337.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
Subtract 338 from 675 to get 337.
Append the next digit (6) from the dividend to 337 and continue with: 3376 / 338

Let's proceed to step 5:
338 goes into 3376 9 times with a remainder of 334.
The next digit of our result is 9. 
Result so far: 119.0
The remainder is 334 after subtracting 3042 from 3376.
Bring next digit (0) of the dividend behind the 334 and repeat the process: 3340 / 338

Going ahead to step 6:
The number 338 fits into 3340 9 times, leaving a remainder of 298.
Put 9 as the next digit of the answer. 
Result so far: 1199.0
Subtract 3042 from 3340 to get 298.
Append the next digit (8) from the dividend to 298 and continue with: 2988 / 338

Step 7:
2988 divided by 338 is 8 with a remainder of 284.
Put 8 as the next digit of the answer. 
Result so far: 11998.0
If we subtract 2704 from 2988, we get 284.
Append the next digit (9) from the dividend to 284 and continue with: 2849 / 338

Step 8:
2849 divided by 338 is 8 with a remainder of 145.
Record the quotient 8 as the next digit in the result. 
Result so far: 119988.0
Subtract 2704 from 2849 to get 145.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

Advancing to step 9:
If we divide 1450 by 338, we get 4 and a remainder of 98.
The next digit of our result is 4. 
Result so far: 119988.4
The remainder is 98 after subtracting 1352 from 1450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 980, and continue the process.

Advancing to step 10:
338 can be fit into 980 2 times, resulting in a remainder of 304.
Write down 2 as next digit of the result. 
Result so far: 119988.42
Subtracting 676 from 980 leaves us with 304.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

Going ahead to step 11:
338 goes into 3040 8 times with a remainder of 336.
The next digit of our result is 8. 
Result so far: 119988.428
The remainder is 336 after subtracting 2704 from 3040.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3360, and continue the process.

On to step 12:
3360 divided by 338 is 9 with a remainder of 318.
Record the quotient 9 as the next digit in the result. 
Result so far: 119988.4289
The remainder is 318 after subtracting 3042 from 3360.
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:
338 goes into 3180 9 times with a remainder of 138.
Use 9 as the next digit of our solution. 
Result so far: 119988.42899
Deduct 3042 from 3180 and we're left with 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

The final outcome is 119988.42899, with a leftover of 0.000138.