We look at the division of 40039828 by 346 
Our goal is to divide 40039828 by 346.

Moving on to step 1:
4 divided by 346 is 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 346

On to step 2:
346 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
Deduct 0 from 40 and we're left with 40.
Grab the next digit (0) from the dividend, add it to 40, then carry on: 400 / 346

Advancing to step 3:
The number 346 fits into 400 1 times, leaving a remainder of 54.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 346 from 400 and we're left with 54.
Take the next digit (3) from the dividend and append it to 54, then repeat: 543 / 346

On to step 4:
If we divide 543 by 346, we get 1 and a remainder of 197.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
If we take 346 away from 543, we end up with 197.
Take the next digit (9) from the dividend and append it to 197, then repeat: 1979 / 346

Moving on to step 5:
346 goes into 1979 5 times with a remainder of 249.
The number 5 becomes the next digit in our result. 
Result so far: 115.0
Deduct 1730 from 1979 and we're left with 249.
Include the next digit (8) from the dividend after 249, then repeat: 2498 / 346

Moving on to step 6:
346 can be fit into 2498 7 times, resulting in a remainder of 76.
The number 7 becomes the next digit in our result. 
Result so far: 1157.0
Subtract 2422 from 2498 to get 76.
Take the next digit (2) from the dividend and append it to 76, then repeat: 762 / 346

Let's proceed to step 7:
The number 346 fits into 762 2 times, leaving a remainder of 70.
The next digit of our result is 2. 
Result so far: 11572.0
If we take 692 away from 762, we end up with 70.
Take the next digit (8) from the dividend and append it to 70, then repeat: 708 / 346

Going ahead to step 8:
708 divided by 346 is 2 with a remainder of 16.
The next digit of our result is 2. 
Result so far: 115722.0
The remainder is 16 after subtracting 692 from 708.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 9:
If we divide 160 by 346, we get 0 and a remainder of 160.
The next digit of our result is 0. 
Result so far: 115722.0
Subtract 0 from 160 to get 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

On to step 10:
346 goes into 1600 4 times with a remainder of 216.
Use 4 as the next digit of our solution. 
Result so far: 115722.04
Subtract 1384 from 1600 to get 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Advancing to step 11:
346 goes into 2160 6 times with a remainder of 84.
The next digit of our result is 6. 
Result so far: 115722.046
Subtracting 2076 from 2160 leaves us with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Moving on to step 12:
If we divide 840 by 346, we get 2 and a remainder of 148.
Record the quotient 2 as the next digit in the result. 
Result so far: 115722.0462
Subtract 692 from 840 to get 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

Let's proceed to step 13:
If we divide 1480 by 346, we get 4 and a remainder of 96.
The number 4 becomes the next digit in our result. 
Result so far: 115722.04624
Deduct 1384 from 1480 and we're left with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Going ahead to step 14:
When dividing 960 by 346, we get 2 with a remainder of 268.
The number 2 becomes the next digit in our result. 
Result so far: 115722.046242
If we subtract 692 from 960, we get 268.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2680, and continue the process.

On to step 15:
346 goes into 2680 7 times with a remainder of 258.
Record the quotient 7 as the next digit in the result. 
Result so far: 115722.0462427
Subtract 2422 from 2680 to get 258.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2580, and continue the process.

Advancing to step 16:
The number 346 fits into 2580 7 times, leaving a remainder of 158.
Write down 7 as next digit of the result. 
Result so far: 115722.04624277
Deduct 2422 from 2580 and we're left with 158.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1580, and continue the process.

Our division results in 115722.04624277 with a remaining 1.58e-07.