We look at the division of 349882 by 40 
We want to figure out the number of times 349882 can be divided by 40.

On to step 1:
The number 40 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (4) from the dividend to 3 and continue with: 34 / 40

Let's proceed to step 2:
34 divided by 40 is 0 with a remainder of 34.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 34, we get 34.
Include the next digit (9) from the dividend after 34, then repeat: 349 / 40

On to step 3:
349 divided by 40 is 8 with a remainder of 29.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
Subtracting 320 from 349 leaves us with 29.
Include the next digit (8) from the dividend after 29, then repeat: 298 / 40

Advancing to step 4:
298 divided by 40 is 7 with a remainder of 18.
The number 7 becomes the next digit in our result. 
Result so far: 87.0
Subtract 280 from 298 to get 18.
Bring next digit (8) of the dividend behind the 18 and repeat the process: 188 / 40

On to step 5:
40 can be fit into 188 4 times, resulting in a remainder of 28.
The next digit of our result is 4. 
Result so far: 874.0
The remainder is 28 after subtracting 160 from 188.
Include the next digit (2) from the dividend after 28, then repeat: 282 / 40

Moving on to step 6:
40 can be fit into 282 7 times, resulting in a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 8747.0
The remainder is 2 after subtracting 280 from 282.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 7:
20 divided by 40 is 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 8747.0
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 8:
When dividing 200 by 40, we get 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 8747.05
If we subtract 200 from 200, 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.

Advancing to step 9:
When dividing 0 by 40, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 8747.05
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.

Advancing to step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 8747.05
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 8747.05 with a balance of 0.0.