Let's divide 40412258 by 346
Let's see how many times 346 fits into 40412258.

On to step 1:
346 goes into 4 0 times with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 346

Moving on to step 2:
The number 346 fits into 40 0 times, leaving a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Fetch the next digit (4) from the dividend, attach it to 40 and continue: 404 / 346

Moving on to step 3:
The number 346 fits into 404 1 times, leaving a remainder of 58.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 346 from 404, we get 58.
Bring next digit (1) of the dividend behind the 58 and repeat the process: 581 / 346

Advancing to step 4:
346 can be fit into 581 1 times, resulting in a remainder of 235.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
Subtracting 346 from 581 leaves us with 235.
Include the next digit (2) from the dividend after 235, then repeat: 2352 / 346

Moving on to step 5:
The number 346 fits into 2352 6 times, leaving a remainder of 276.
The number 6 becomes the next digit in our result. 
Result so far: 116.0
Deduct 2076 from 2352 and we're left with 276.
Fetch the next digit (2) from the dividend, attach it to 276 and continue: 2762 / 346

Advancing to step 6:
346 can be fit into 2762 7 times, resulting in a remainder of 340.
Record the quotient 7 as the next digit in the result. 
Result so far: 1167.0
Subtracting 2422 from 2762 leaves us with 340.
Bring next digit (5) of the dividend behind the 340 and repeat the process: 3405 / 346

Advancing to step 7:
346 goes into 3405 9 times with a remainder of 291.
Use 9 as the next digit of our solution. 
Result so far: 11679.0
If we take 3114 away from 3405, we end up with 291.
Append the next digit (8) from the dividend to 291 and continue with: 2918 / 346

Step 8:
The number 346 fits into 2918 8 times, leaving a remainder of 150.
The next digit of our result is 8. 
Result so far: 116798.0
If we subtract 2768 from 2918, we get 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Going ahead to step 9:
If we divide 1500 by 346, we get 4 and a remainder of 116.
Use 4 as the next digit of our solution. 
Result so far: 116798.4
Subtracting 1384 from 1500 leaves us with 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Advancing to step 10:
The number 346 fits into 1160 3 times, leaving a remainder of 122.
Put 3 as the next digit of the answer. 
Result so far: 116798.43
The remainder is 122 after subtracting 1038 from 1160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1220, and continue the process.

Let's proceed to step 11:
1220 divided by 346 is 3 with a remainder of 182.
The next digit of our result is 3. 
Result so far: 116798.433
Deduct 1038 from 1220 and we're left with 182.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

The final result is 116798.433 with a remainder of 0.0182.