Let's divide 40479494 by 407
Our goal is to divide 40479494 by 407.

Moving on to step 1:
407 goes into 4 0 times 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.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 407

Moving on to step 2:
407 can be fit into 40 0 times, resulting in a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Take the next digit (4) from the dividend and append it to 40, then repeat: 404 / 407

Let's proceed to step 3:
If we divide 404 by 407, we get 0 and a remainder of 404.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 404 leaves us with 404.
Append the next digit (7) from the dividend to 404 and continue with: 4047 / 407

On to step 4:
If we divide 4047 by 407, we get 9 and a remainder of 384.
Put 9 as the next digit of the answer. 
Result so far: 9.0
Subtract 3663 from 4047 to get 384.
Append the next digit (9) from the dividend to 384 and continue with: 3849 / 407

Step 5:
3849 divided by 407 is 9 with a remainder of 186.
Put 9 as the next digit of the answer. 
Result so far: 99.0
If we take 3663 away from 3849, we end up with 186.
Append the next digit (4) from the dividend to 186 and continue with: 1864 / 407

Moving on to step 6:
The number 407 fits into 1864 4 times, leaving a remainder of 236.
Put 4 as the next digit of the answer. 
Result so far: 994.0
If we take 1628 away from 1864, we end up with 236.
Fetch the next digit (9) from the dividend, attach it to 236 and continue: 2369 / 407

Let's proceed to step 7:
The number 407 fits into 2369 5 times, leaving a remainder of 334.
The next digit of our result is 5. 
Result so far: 9945.0
The remainder is 334 after subtracting 2035 from 2369.
Grab the next digit (4) from the dividend, add it to 334, then carry on: 3344 / 407

On to step 8:
The number 407 fits into 3344 8 times, leaving a remainder of 88.
The next digit of our result is 8. 
Result so far: 99458.0
If we take 3256 away from 3344, we end up with 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Step 9:
880 divided by 407 is 2 with a remainder of 66.
Write down 2 as next digit of the result. 
Result so far: 99458.2
Subtracting 814 from 880 leaves us with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Moving on to step 10:
407 goes into 660 1 times with a remainder of 253.
Write down 1 as next digit of the result. 
Result so far: 99458.21
Subtracting 407 from 660 leaves us with 253.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2530, and continue the process.

Step 11:
2530 divided by 407 is 6 with a remainder of 88.
Write down 6 as next digit of the result. 
Result so far: 99458.216
Subtract 2442 from 2530 to get 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Let's proceed to step 12:
When dividing 880 by 407, we get 2 with a remainder of 66.
Use 2 as the next digit of our solution. 
Result so far: 99458.2162
If we subtract 814 from 880, we get 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Moving on to step 13:
When dividing 660 by 407, we get 1 with a remainder of 253.
Write down 1 as next digit of the result. 
Result so far: 99458.21621
Deduct 407 from 660 and we're left with 253.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2530, and continue the process.

Going ahead to step 14:
407 goes into 2530 6 times with a remainder of 88.
Use 6 as the next digit of our solution. 
Result so far: 99458.216216
Subtracting 2442 from 2530 leaves us with 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Let's proceed to step 15:
The number 407 fits into 880 2 times, leaving a remainder of 66.
Use 2 as the next digit of our solution. 
Result so far: 99458.2162162
If we take 814 away from 880, we end up with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Moving on to step 16:
660 divided by 407 is 1 with a remainder of 253.
Put 1 as the next digit of the answer. 
Result so far: 99458.21621621
Deduct 407 from 660 and we're left with 253.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2530, and continue the process.

The final outcome is 99458.21621621, with a leftover of 2.53e-07.