40986242 ÷ 364 
Let's see how many times 364 fits into 40986242.

Moving on to step 1:
When dividing 4 by 364, we get 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 364

Let's proceed to step 2:
364 can be fit into 40 0 times, resulting in a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Take the next digit (9) from the dividend and append it to 40, then repeat: 409 / 364

Going ahead to step 3:
The number 364 fits into 409 1 times, leaving a remainder of 45.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 364 from 409 leaves us with 45.
Grab the next digit (8) from the dividend, add it to 45, then carry on: 458 / 364

Step 4:
If we divide 458 by 364, we get 1 and a remainder of 94.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Deduct 364 from 458 and we're left with 94.
Bring next digit (6) of the dividend behind the 94 and repeat the process: 946 / 364

On to step 5:
946 divided by 364 is 2 with a remainder of 218.
Use 2 as the next digit of our solution. 
Result so far: 112.0
The remainder is 218 after subtracting 728 from 946.
Include the next digit (2) from the dividend after 218, then repeat: 2182 / 364

Moving on to step 6:
2182 divided by 364 is 5 with a remainder of 362.
The next digit of our result is 5. 
Result so far: 1125.0
Subtract 1820 from 2182 to get 362.
Take the next digit (4) from the dividend and append it to 362, then repeat: 3624 / 364

Let's proceed to step 7:
The number 364 fits into 3624 9 times, leaving a remainder of 348.
Put 9 as the next digit of the answer. 
Result so far: 11259.0
Deduct 3276 from 3624 and we're left with 348.
Include the next digit (2) from the dividend after 348, then repeat: 3482 / 364

Moving on to step 8:
If we divide 3482 by 364, we get 9 and a remainder of 206.
Use 9 as the next digit of our solution. 
Result so far: 112599.0
The remainder is 206 after subtracting 3276 from 3482.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

Moving on to step 9:
The number 364 fits into 2060 5 times, leaving a remainder of 240.
Record the quotient 5 as the next digit in the result. 
Result so far: 112599.5
The remainder is 240 after subtracting 1820 from 2060.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

On to step 10:
2400 divided by 364 is 6 with a remainder of 216.
The next digit of our result is 6. 
Result so far: 112599.56
The remainder is 216 after subtracting 2184 from 2400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Let's proceed to step 11:
The number 364 fits into 2160 5 times, leaving a remainder of 340.
The next digit of our result is 5. 
Result so far: 112599.565
Subtract 1820 from 2160 to get 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

Step 12:
The number 364 fits into 3400 9 times, leaving a remainder of 124.
Put 9 as the next digit of the answer. 
Result so far: 112599.5659
If we take 3276 away from 3400, we end up with 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Advancing to step 13:
1240 divided by 364 is 3 with a remainder of 148.
Put 3 as the next digit of the answer. 
Result so far: 112599.56593
If we subtract 1092 from 1240, we 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.

Moving on to step 14:
When dividing 1480 by 364, we get 4 with a remainder of 24.
The next digit of our result is 4. 
Result so far: 112599.565934
Deduct 1456 from 1480 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 15:
If we divide 240 by 364, we get 0 and a remainder of 240.
Write down 0 as next digit of the result. 
Result so far: 112599.565934
Deduct 0 from 240 and we're left with 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Step 16:
364 goes into 2400 6 times with a remainder of 216.
The next digit of our result is 6. 
Result so far: 112599.56593406
The remainder is 216 after subtracting 2184 from 2400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

The final outcome is 112599.56593406, with a leftover of 2.16e-07.