40586204 divided by 332 
We want to divide 40586204 by 332.

On to step 1:
When dividing 4 by 332, we get 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 332

Step 2:
332 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Bring next digit (5) of the dividend behind the 40 and repeat the process: 405 / 332

Step 3:
405 divided by 332 is 1 with a remainder of 73.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 332 from 405 and we're left with 73.
Fetch the next digit (8) from the dividend, attach it to 73 and continue: 738 / 332

Advancing to step 4:
The number 332 fits into 738 2 times, leaving a remainder of 74.
Put 2 as the next digit of the answer. 
Result so far: 12.0
Subtract 664 from 738 to get 74.
Grab the next digit (6) from the dividend, add it to 74, then carry on: 746 / 332

Advancing to step 5:
The number 332 fits into 746 2 times, leaving a remainder of 82.
Put 2 as the next digit of the answer. 
Result so far: 122.0
If we take 664 away from 746, we end up with 82.
Include the next digit (2) from the dividend after 82, then repeat: 822 / 332

Moving on to step 6:
If we divide 822 by 332, we get 2 and a remainder of 158.
The number 2 becomes the next digit in our result. 
Result so far: 1222.0
The remainder is 158 after subtracting 664 from 822.
Take the next digit (0) from the dividend and append it to 158, then repeat: 1580 / 332

Moving on to step 7:
The number 332 fits into 1580 4 times, leaving a remainder of 252.
Write down 4 as next digit of the result. 
Result so far: 12224.0
If we take 1328 away from 1580, we end up with 252.
Bring next digit (4) of the dividend behind the 252 and repeat the process: 2524 / 332

On to step 8:
If we divide 2524 by 332, we get 7 and a remainder of 200.
Record the quotient 7 as the next digit in the result. 
Result so far: 122247.0
The remainder is 200 after subtracting 2324 from 2524.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

Let's proceed to step 9:
332 can be fit into 2000 6 times, resulting in a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 122247.6
Subtracting 1992 from 2000 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 10:
80 divided by 332 is 0 with a remainder of 80.
The number 0 becomes the next digit in our result. 
Result so far: 122247.6
Deduct 0 from 80 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Going ahead to step 11:
800 divided by 332 is 2 with a remainder of 136.
The number 2 becomes the next digit in our result. 
Result so far: 122247.602
The remainder is 136 after subtracting 664 from 800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

Step 12:
The number 332 fits into 1360 4 times, leaving a remainder of 32.
Record the quotient 4 as the next digit in the result. 
Result so far: 122247.6024
Subtract 1328 from 1360 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 13:
320 divided by 332 is 0 with a remainder of 320.
The next digit of our result is 0. 
Result so far: 122247.6024
Subtracting 0 from 320 leaves us with 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

On to step 14:
The number 332 fits into 3200 9 times, leaving a remainder of 212.
Write down 9 as next digit of the result. 
Result so far: 122247.602409
Deduct 2988 from 3200 and we're left with 212.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

Let's proceed to step 15:
332 goes into 2120 6 times with a remainder of 128.
The number 6 becomes the next digit in our result. 
Result so far: 122247.6024096
The remainder is 128 after subtracting 1992 from 2120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

Advancing to step 16:
When dividing 1280 by 332, we get 3 with a remainder of 284.
Write down 3 as next digit of the result. 
Result so far: 122247.60240963
Subtracting 996 from 1280 leaves us with 284.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2840, and continue the process.

After the division, we end up with 122247.60240963 and a remainder of 2.84e-07.