We divide 39985198 by 993
Let's see how many times 993 fits into 39985198.

On to step 1:
993 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 993

Moving on to step 2:
993 goes into 39 0 times with a remainder of 39.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Take the next digit (9) from the dividend and append it to 39, then repeat: 399 / 993

On to step 3:
399 divided by 993 is 0 with a remainder of 399.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 399 and we're left with 399.
Include the next digit (8) from the dividend after 399, then repeat: 3998 / 993

Let's proceed to step 4:
993 goes into 3998 4 times with a remainder of 26.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we subtract 3972 from 3998, we get 26.
Fetch the next digit (5) from the dividend, attach it to 26 and continue: 265 / 993

Step 5:
993 goes into 265 0 times with a remainder of 265.
The number 0 becomes the next digit in our result. 
Result so far: 40.0
If we subtract 0 from 265, we get 265.
Include the next digit (1) from the dividend after 265, then repeat: 2651 / 993

Moving on to step 6:
When dividing 2651 by 993, we get 2 with a remainder of 665.
Write down 2 as next digit of the result. 
Result so far: 402.0
Deduct 1986 from 2651 and we're left with 665.
Fetch the next digit (9) from the dividend, attach it to 665 and continue: 6659 / 993

Moving on to step 7:
The number 993 fits into 6659 6 times, leaving a remainder of 701.
Use 6 as the next digit of our solution. 
Result so far: 4026.0
The remainder is 701 after subtracting 5958 from 6659.
Take the next digit (8) from the dividend and append it to 701, then repeat: 7018 / 993

Going ahead to step 8:
993 can be fit into 7018 7 times, resulting in a remainder of 67.
Write down 7 as next digit of the result. 
Result so far: 40267.0
Subtracting 6951 from 7018 leaves us with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Let's proceed to step 9:
If we divide 670 by 993, we get 0 and a remainder of 670.
Record the quotient 0 as the next digit in the result. 
Result so far: 40267.0
If we take 0 away from 670, we end up with 670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6700, and continue the process.

On to step 10:
If we divide 6700 by 993, we get 6 and a remainder of 742.
Write down 6 as next digit of the result. 
Result so far: 40267.06
The remainder is 742 after subtracting 5958 from 6700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7420, and continue the process.

Step 11:
If we divide 7420 by 993, we get 7 and a remainder of 469.
Write down 7 as next digit of the result. 
Result so far: 40267.067
The remainder is 469 after subtracting 6951 from 7420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4690, and continue the process.

Advancing to step 12:
If we divide 4690 by 993, we get 4 and a remainder of 718.
Write down 4 as next digit of the result. 
Result so far: 40267.0674
Subtracting 3972 from 4690 leaves us with 718.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7180, and continue the process.

Moving on to step 13:
7180 divided by 993 is 7 with a remainder of 229.
Write down 7 as next digit of the result. 
Result so far: 40267.06747
If we take 6951 away from 7180, we end up with 229.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2290, and continue the process.

Step 14:
If we divide 2290 by 993, we get 2 and a remainder of 304.
Record the quotient 2 as the next digit in the result. 
Result so far: 40267.067472
If we take 1986 away from 2290, we end up with 304.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

Moving on to step 15:
3040 divided by 993 is 3 with a remainder of 61.
Use 3 as the next digit of our solution. 
Result so far: 40267.0674723
Subtracting 2979 from 3040 leaves us 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.

Advancing to step 16:
610 divided by 993 is 0 with a remainder of 610.
Use 0 as the next digit of our solution. 
Result so far: 40267.0674723
Deduct 0 from 610 and we're left with 610.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6100, and continue the process.

In conclusion, the division gives 40267.0674723 with a balance of 6.1e-07.