We divide 40606640 by 799
We want to divide 40606640 by 799.

Going ahead to step 1:
When dividing 4 by 799, we get 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 799

Going ahead to step 2:
799 can be fit into 40 0 times, resulting in a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Fetch the next digit (6) from the dividend, attach it to 40 and continue: 406 / 799

Going ahead to step 3:
799 can be fit into 406 0 times, resulting in a remainder of 406.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 406 to get 406.
Bring next digit (0) of the dividend behind the 406 and repeat the process: 4060 / 799

On to step 4:
4060 divided by 799 is 5 with a remainder of 65.
The next digit of our result is 5. 
Result so far: 5.0
If we subtract 3995 from 4060, we get 65.
Take the next digit (6) from the dividend and append it to 65, then repeat: 656 / 799

Let's proceed to step 5:
If we divide 656 by 799, we get 0 and a remainder of 656.
Record the quotient 0 as the next digit in the result. 
Result so far: 50.0
Subtract 0 from 656 to get 656.
Include the next digit (6) from the dividend after 656, then repeat: 6566 / 799

Moving on to step 6:
799 can be fit into 6566 8 times, resulting in a remainder of 174.
Put 8 as the next digit of the answer. 
Result so far: 508.0
Subtracting 6392 from 6566 leaves us with 174.
Append the next digit (4) from the dividend to 174 and continue with: 1744 / 799

Step 7:
1744 divided by 799 is 2 with a remainder of 146.
The next digit of our result is 2. 
Result so far: 5082.0
If we take 1598 away from 1744, we end up with 146.
Take the next digit (0) from the dividend and append it to 146, then repeat: 1460 / 799

Step 8:
799 goes into 1460 1 times with a remainder of 661.
Record the quotient 1 as the next digit in the result. 
Result so far: 50821.0
Subtracting 799 from 1460 leaves us with 661.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6610, and continue the process.

Let's proceed to step 9:
6610 divided by 799 is 8 with a remainder of 218.
The number 8 becomes the next digit in our result. 
Result so far: 50821.8
Subtracting 6392 from 6610 leaves us with 218.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2180, and continue the process.

Step 10:
799 can be fit into 2180 2 times, resulting in a remainder of 582.
Put 2 as the next digit of the answer. 
Result so far: 50821.82
The remainder is 582 after subtracting 1598 from 2180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5820, and continue the process.

Advancing to step 11:
799 goes into 5820 7 times with a remainder of 227.
The next digit of our result is 7. 
Result so far: 50821.827
Deduct 5593 from 5820 and we're left with 227.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2270, and continue the process.

Going ahead to step 12:
The number 799 fits into 2270 2 times, leaving a remainder of 672.
The next digit of our result is 2. 
Result so far: 50821.8272
The remainder is 672 after subtracting 1598 from 2270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6720, and continue the process.

Going ahead to step 13:
If we divide 6720 by 799, we get 8 and a remainder of 328.
The next digit of our result is 8. 
Result so far: 50821.82728
Subtract 6392 from 6720 to get 328.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

Going ahead to step 14:
799 goes into 3280 4 times with a remainder of 84.
Record the quotient 4 as the next digit in the result. 
Result so far: 50821.827284
The remainder is 84 after subtracting 3196 from 3280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Step 15:
799 goes into 840 1 times with a remainder of 41.
Record the quotient 1 as the next digit in the result. 
Result so far: 50821.8272841
Subtract 799 from 840 to get 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Moving on to step 16:
799 goes into 410 0 times with a remainder of 410.
Use 0 as the next digit of our solution. 
Result so far: 50821.8272841
If we take 0 away from 410, we end up with 410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4100, and continue the process.

The final result is 50821.8272841 with a remainder of 4.1e-07.