40328415 ÷ 338 
Our goal is to divide 40328415 by 338.

Advancing to step 1:
When dividing 4 by 338, we get 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 338

Step 2:
338 can be fit into 40 0 times, resulting in a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Append the next digit (3) from the dividend to 40 and continue with: 403 / 338

Going ahead to step 3:
338 goes into 403 1 times with a remainder of 65.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 338 from 403, we get 65.
Take the next digit (2) from the dividend and append it to 65, then repeat: 652 / 338

Let's proceed to step 4:
When dividing 652 by 338, we get 1 with a remainder of 314.
Write down 1 as next digit of the result. 
Result so far: 11.0
Subtract 338 from 652 to get 314.
Grab the next digit (8) from the dividend, add it to 314, then carry on: 3148 / 338

Let's proceed to step 5:
3148 divided by 338 is 9 with a remainder of 106.
Record the quotient 9 as the next digit in the result. 
Result so far: 119.0
Subtract 3042 from 3148 to get 106.
Fetch the next digit (4) from the dividend, attach it to 106 and continue: 1064 / 338

Moving on to step 6:
When dividing 1064 by 338, we get 3 with a remainder of 50.
Use 3 as the next digit of our solution. 
Result so far: 1193.0
Subtract 1014 from 1064 to get 50.
Take the next digit (1) from the dividend and append it to 50, then repeat: 501 / 338

Advancing to step 7:
501 divided by 338 is 1 with a remainder of 163.
Put 1 as the next digit of the answer. 
Result so far: 11931.0
Deduct 338 from 501 and we're left with 163.
Fetch the next digit (5) from the dividend, attach it to 163 and continue: 1635 / 338

Let's proceed to step 8:
338 goes into 1635 4 times with a remainder of 283.
Record the quotient 4 as the next digit in the result. 
Result so far: 119314.0
Subtract 1352 from 1635 to get 283.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2830, and continue the process.

Moving on to step 9:
338 can be fit into 2830 8 times, resulting in a remainder of 126.
Write down 8 as next digit of the result. 
Result so far: 119314.8
If we take 2704 away from 2830, we end up with 126.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1260, and continue the process.

Advancing to step 10:
338 can be fit into 1260 3 times, resulting in a remainder of 246.
Put 3 as the next digit of the answer. 
Result so far: 119314.83
Subtract 1014 from 1260 to get 246.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2460, and continue the process.

Moving on to step 11:
2460 divided by 338 is 7 with a remainder of 94.
Record the quotient 7 as the next digit in the result. 
Result so far: 119314.837
If we subtract 2366 from 2460, we get 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

Moving on to step 12:
338 goes into 940 2 times with a remainder of 264.
Write down 2 as next digit of the result. 
Result so far: 119314.8372
Deduct 676 from 940 and we're left with 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

Let's proceed to step 13:
The number 338 fits into 2640 7 times, leaving a remainder of 274.
Write down 7 as next digit of the result. 
Result so far: 119314.83727
If we take 2366 away from 2640, we end up with 274.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2740, and continue the process.

Going ahead to step 14:
338 goes into 2740 8 times with a remainder of 36.
Record the quotient 8 as the next digit in the result. 
Result so far: 119314.837278
Deduct 2704 from 2740 and we're left 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:
When dividing 360 by 338, we get 1 with a remainder of 22.
The next digit of our result is 1. 
Result so far: 119314.8372781
Subtract 338 from 360 to 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.

On to step 16:
When dividing 220 by 338, we get 0 with a remainder of 220.
Write down 0 as next digit of the result. 
Result so far: 119314.8372781
Subtract 0 from 220 to get 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

The final outcome is 119314.8372781, with a leftover of 2.2e-07.