We look at the division of 338724 by 40 
We want to divide 338724 by 40.

Advancing to step 1:
40 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 40

Moving on to step 2:
40 can be fit into 33 0 times, resulting in a remainder of 33.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 33 after subtracting 0 from 33.
Grab the next digit (8) from the dividend, add it to 33, then carry on: 338 / 40

On to step 3:
338 divided by 40 is 8 with a remainder of 18.
Write down 8 as next digit of the result. 
Result so far: 8.0
Subtract 320 from 338 to get 18.
Take the next digit (7) from the dividend and append it to 18, then repeat: 187 / 40

Going ahead to step 4:
187 divided by 40 is 4 with a remainder of 27.
Write down 4 as next digit of the result. 
Result so far: 84.0
If we take 160 away from 187, we end up with 27.
Fetch the next digit (2) from the dividend, attach it to 27 and continue: 272 / 40

Let's proceed to step 5:
40 can be fit into 272 6 times, resulting in a remainder of 32.
Use 6 as the next digit of our solution. 
Result so far: 846.0
Subtract 240 from 272 to get 32.
Fetch the next digit (4) from the dividend, attach it to 32 and continue: 324 / 40

Step 6:
If we divide 324 by 40, we get 8 and a remainder of 4.
The next digit of our result is 8. 
Result so far: 8468.0
Subtracting 320 from 324 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.

Step 7:
When dividing 40 by 40, we get 1 with a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 8468.1
Subtract 40 from 40 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 8468.1
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
When dividing 0 by 40, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 8468.1
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 8468.1 with a remainder of 0.0.