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

Advancing to step 1:
3 divided by 998 is 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 998

Let's proceed to step 2:
The number 998 fits into 39 0 times, leaving a remainder of 39.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Take the next digit (7) from the dividend and append it to 39, then repeat: 397 / 998

Advancing to step 3:
998 can be fit into 397 0 times, resulting in a remainder of 397.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 397 and we're left with 397.
Append the next digit (8) from the dividend to 397 and continue with: 3978 / 998

Let's proceed to step 4:
The number 998 fits into 3978 3 times, leaving a remainder of 984.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we subtract 2994 from 3978, we get 984.
Take the next digit (2) from the dividend and append it to 984, then repeat: 9842 / 998

Going ahead to step 5:
If we divide 9842 by 998, we get 9 and a remainder of 860.
The next digit of our result is 9. 
Result so far: 39.0
If we subtract 8982 from 9842, we get 860.
Include the next digit (7) from the dividend after 860, then repeat: 8607 / 998

Step 6:
When dividing 8607 by 998, we get 8 with a remainder of 623.
Record the quotient 8 as the next digit in the result. 
Result so far: 398.0
Deduct 7984 from 8607 and we're left with 623.
Include the next digit (8) from the dividend after 623, then repeat: 6238 / 998

Let's proceed to step 7:
When dividing 6238 by 998, we get 6 with a remainder of 250.
Write down 6 as next digit of the result. 
Result so far: 3986.0
If we take 5988 away from 6238, we end up with 250.
Take the next digit (5) from the dividend and append it to 250, then repeat: 2505 / 998

Moving on to step 8:
998 can be fit into 2505 2 times, resulting in a remainder of 509.
The number 2 becomes the next digit in our result. 
Result so far: 39862.0
The remainder is 509 after subtracting 1996 from 2505.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5090, and continue the process.

Let's proceed to step 9:
998 can be fit into 5090 5 times, resulting in a remainder of 100.
The number 5 becomes the next digit in our result. 
Result so far: 39862.5
Deduct 4990 from 5090 and we're left with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Step 10:
If we divide 1000 by 998, we get 1 and a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 39862.51
If we subtract 998 from 1000, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 11:
When dividing 20 by 998, we get 0 with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 39862.51
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 12:
If we divide 200 by 998, we get 0 and a remainder of 200.
Use 0 as the next digit of our solution. 
Result so far: 39862.51
If we subtract 0 from 200, we get 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

After the division, we end up with 39862.51 and a remainder of 0.002.