We look at the division of 39646662 by 797 
We want to divide 39646662 by 797.

Let's proceed to step 1:
797 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 797

Going ahead to step 2:
If we divide 39 by 797, we get 0 and a remainder of 39.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Grab the next digit (6) from the dividend, add it to 39, then carry on: 396 / 797

Let's proceed to step 3:
If we divide 396 by 797, we get 0 and a remainder of 396.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 396 after subtracting 0 from 396.
Bring next digit (4) of the dividend behind the 396 and repeat the process: 3964 / 797

Moving on to step 4:
797 can be fit into 3964 4 times, resulting in a remainder of 776.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
The remainder is 776 after subtracting 3188 from 3964.
Take the next digit (6) from the dividend and append it to 776, then repeat: 7766 / 797

Let's proceed to step 5:
797 goes into 7766 9 times with a remainder of 593.
Write down 9 as next digit of the result. 
Result so far: 49.0
Subtracting 7173 from 7766 leaves us with 593.
Append the next digit (6) from the dividend to 593 and continue with: 5936 / 797

Step 6:
When dividing 5936 by 797, we get 7 with a remainder of 357.
The next digit of our result is 7. 
Result so far: 497.0
Subtracting 5579 from 5936 leaves us with 357.
Fetch the next digit (6) from the dividend, attach it to 357 and continue: 3576 / 797

Moving on to step 7:
If we divide 3576 by 797, we get 4 and a remainder of 388.
The next digit of our result is 4. 
Result so far: 4974.0
If we take 3188 away from 3576, we end up with 388.
Bring next digit (2) of the dividend behind the 388 and repeat the process: 3882 / 797

Advancing to step 8:
797 goes into 3882 4 times with a remainder of 694.
The number 4 becomes the next digit in our result. 
Result so far: 49744.0
Subtracting 3188 from 3882 leaves us with 694.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6940, and continue the process.

On to step 9:
797 goes into 6940 8 times with a remainder of 564.
Put 8 as the next digit of the answer. 
Result so far: 49744.8
If we take 6376 away from 6940, we end up with 564.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5640, and continue the process.

On to step 10:
797 can be fit into 5640 7 times, resulting in a remainder of 61.
Write down 7 as next digit of the result. 
Result so far: 49744.87
Deduct 5579 from 5640 and we're left with 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Going ahead to step 11:
If we divide 610 by 797, we get 0 and a remainder of 610.
Put 0 as the next digit of the answer. 
Result so far: 49744.87
If we subtract 0 from 610, we get 610.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6100, and continue the process.

Step 12:
The number 797 fits into 6100 7 times, leaving a remainder of 521.
Write down 7 as next digit of the result. 
Result so far: 49744.8707
The remainder is 521 after subtracting 5579 from 6100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5210, and continue the process.

Moving on to step 13:
797 can be fit into 5210 6 times, resulting in a remainder of 428.
Put 6 as the next digit of the answer. 
Result so far: 49744.87076
Subtracting 4782 from 5210 leaves us with 428.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4280, and continue the process.

On to step 14:
The number 797 fits into 4280 5 times, leaving a remainder of 295.
The next digit of our result is 5. 
Result so far: 49744.870765
Subtracting 3985 from 4280 leaves us with 295.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2950, and continue the process.

Going ahead to step 15:
When dividing 2950 by 797, we get 3 with a remainder of 559.
Use 3 as the next digit of our solution. 
Result so far: 49744.8707653
Subtract 2391 from 2950 to get 559.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5590, and continue the process.

Advancing to step 16:
The number 797 fits into 5590 7 times, leaving a remainder of 11.
The next digit of our result is 7. 
Result so far: 49744.87076537
The remainder is 11 after subtracting 5579 from 5590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Our division results in 49744.87076537 with a remaining 1.1e-08.