343988 ÷ 40 
We're looking to find how many times 40 goes into 343988.

On to step 1:
When dividing 3 by 40, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (4) from the dividend to 3 and continue with: 34 / 40

Step 2:
If we divide 34 by 40, we get 0 and a remainder of 34.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 34 leaves us with 34.
Bring next digit (3) of the dividend behind the 34 and repeat the process: 343 / 40

Moving on to step 3:
343 divided by 40 is 8 with a remainder of 23.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
If we take 320 away from 343, we end up with 23.
Grab the next digit (9) from the dividend, add it to 23, then carry on: 239 / 40

On to step 4:
40 goes into 239 5 times with a remainder of 39.
Use 5 as the next digit of our solution. 
Result so far: 85.0
The remainder is 39 after subtracting 200 from 239.
Take the next digit (8) from the dividend and append it to 39, then repeat: 398 / 40

Step 5:
398 divided by 40 is 9 with a remainder of 38.
The next digit of our result is 9. 
Result so far: 859.0
The remainder is 38 after subtracting 360 from 398.
Bring next digit (8) of the dividend behind the 38 and repeat the process: 388 / 40

Step 6:
The number 40 fits into 388 9 times, leaving a remainder of 28.
Put 9 as the next digit of the answer. 
Result so far: 8599.0
Deduct 360 from 388 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 7:
40 goes into 280 7 times with a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 8599.7
If we take 280 away from 280, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 8:
If we divide 0 by 40, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 8599.7
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 9:
If we divide 0 by 40, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 8599.7
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 8599.7 and a remainder of 0.0.