39795786 ÷ 998 
We want to figure out the number of times 39795786 can be divided by 998.

Advancing to step 1:
998 goes into 3 0 times with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 998

Going ahead to step 2:
The number 998 fits into 39 0 times, leaving a remainder of 39.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 39 and we're left with 39.
Append the next digit (7) from the dividend to 39 and continue with: 397 / 998

On to step 3:
397 divided by 998 is 0 with a remainder of 397.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 397 after subtracting 0 from 397.
Bring next digit (9) of the dividend behind the 397 and repeat the process: 3979 / 998

Moving on to step 4:
3979 divided by 998 is 3 with a remainder of 985.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtracting 2994 from 3979 leaves us with 985.
Append the next digit (5) from the dividend to 985 and continue with: 9855 / 998

Moving on to step 5:
998 can be fit into 9855 9 times, resulting in a remainder of 873.
Record the quotient 9 as the next digit in the result. 
Result so far: 39.0
If we subtract 8982 from 9855, we get 873.
Grab the next digit (7) from the dividend, add it to 873, then carry on: 8737 / 998

Let's proceed to step 6:
8737 divided by 998 is 8 with a remainder of 753.
The next digit of our result is 8. 
Result so far: 398.0
Subtracting 7984 from 8737 leaves us with 753.
Grab the next digit (8) from the dividend, add it to 753, then carry on: 7538 / 998

Let's proceed to step 7:
998 can be fit into 7538 7 times, resulting in a remainder of 552.
Put 7 as the next digit of the answer. 
Result so far: 3987.0
If we take 6986 away from 7538, we end up with 552.
Fetch the next digit (6) from the dividend, attach it to 552 and continue: 5526 / 998

Moving on to step 8:
When dividing 5526 by 998, we get 5 with a remainder of 536.
The number 5 becomes the next digit in our result. 
Result so far: 39875.0
Deduct 4990 from 5526 and we're left with 536.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5360, and continue the process.

Step 9:
5360 divided by 998 is 5 with a remainder of 370.
The next digit of our result is 5. 
Result so far: 39875.5
If we subtract 4990 from 5360, we get 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3700, and continue the process.

Let's proceed to step 10:
When dividing 3700 by 998, we get 3 with a remainder of 706.
The number 3 becomes the next digit in our result. 
Result so far: 39875.53
If we subtract 2994 from 3700, we get 706.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7060, and continue the process.

Moving on to step 11:
7060 divided by 998 is 7 with a remainder of 74.
The number 7 becomes the next digit in our result. 
Result so far: 39875.537
Subtracting 6986 from 7060 leaves us with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Step 12:
998 can be fit into 740 0 times, resulting in a remainder of 740.
The number 0 becomes the next digit in our result. 
Result so far: 39875.537
Deduct 0 from 740 and we're left with 740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7400, and continue the process.

On to step 13:
If we divide 7400 by 998, we get 7 and a remainder of 414.
The next digit of our result is 7. 
Result so far: 39875.53707
Subtract 6986 from 7400 to get 414.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4140, and continue the process.

Let's proceed to step 14:
The number 998 fits into 4140 4 times, leaving a remainder of 148.
Put 4 as the next digit of the answer. 
Result so far: 39875.537074
Deduct 3992 from 4140 and we're left with 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

On to step 15:
1480 divided by 998 is 1 with a remainder of 482.
The number 1 becomes the next digit in our result. 
Result so far: 39875.5370741
Subtracting 998 from 1480 leaves us with 482.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4820, and continue the process.

Let's proceed to step 16:
4820 divided by 998 is 4 with a remainder of 828.
The number 4 becomes the next digit in our result. 
Result so far: 39875.53707414
Subtracting 3992 from 4820 leaves us with 828.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8280, and continue the process.

The final outcome is 39875.53707414, with a leftover of 8.28e-07.