39900167 ÷ 998 
Our goal is to divide 39900167 by 998.

Advancing to step 1:
3 divided by 998 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 998

Let's proceed to step 2:
998 goes into 39 0 times with a remainder of 39.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 39, we get 39.
Fetch the next digit (9) from the dividend, attach it to 39 and continue: 399 / 998

Let's proceed to step 3:
The number 998 fits into 399 0 times, leaving a remainder of 399.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 399 after subtracting 0 from 399.
Take the next digit (0) from the dividend and append it to 399, then repeat: 3990 / 998

Going ahead to step 4:
998 can be fit into 3990 3 times, resulting in a remainder of 996.
The next digit of our result is 3. 
Result so far: 3.0
If we take 2994 away from 3990, we end up with 996.
Grab the next digit (0) from the dividend, add it to 996, then carry on: 9960 / 998

Going ahead to step 5:
998 can be fit into 9960 9 times, resulting in a remainder of 978.
Use 9 as the next digit of our solution. 
Result so far: 39.0
If we subtract 8982 from 9960, we get 978.
Grab the next digit (1) from the dividend, add it to 978, then carry on: 9781 / 998

On to step 6:
9781 divided by 998 is 9 with a remainder of 799.
Put 9 as the next digit of the answer. 
Result so far: 399.0
The remainder is 799 after subtracting 8982 from 9781.
Grab the next digit (6) from the dividend, add it to 799, then carry on: 7996 / 998

Advancing to step 7:
998 goes into 7996 8 times with a remainder of 12.
The next digit of our result is 8. 
Result so far: 3998.0
Subtracting 7984 from 7996 leaves us with 12.
Grab the next digit (7) from the dividend, add it to 12, then carry on: 127 / 998

Moving on to step 8:
127 divided by 998 is 0 with a remainder of 127.
The next digit of our result is 0. 
Result so far: 39980.0
If we take 0 away from 127, we end up with 127.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1270, and continue the process.

Advancing to step 9:
When dividing 1270 by 998, we get 1 with a remainder of 272.
The next digit of our result is 1. 
Result so far: 39980.1
The remainder is 272 after subtracting 998 from 1270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

Advancing to step 10:
The number 998 fits into 2720 2 times, leaving a remainder of 724.
Write down 2 as next digit of the result. 
Result so far: 39980.12
Subtracting 1996 from 2720 leaves us with 724.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7240, and continue the process.

Advancing to step 11:
When dividing 7240 by 998, we get 7 with a remainder of 254.
The number 7 becomes the next digit in our result. 
Result so far: 39980.127
If we take 6986 away from 7240, we end up with 254.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2540, and continue the process.

Step 12:
When dividing 2540 by 998, we get 2 with a remainder of 544.
Use 2 as the next digit of our solution. 
Result so far: 39980.1272
Subtract 1996 from 2540 to get 544.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5440, and continue the process.

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

Advancing to step 14:
4500 divided by 998 is 4 with a remainder of 508.
Write down 4 as next digit of the result. 
Result so far: 39980.127254
If we subtract 3992 from 4500, we get 508.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5080, and continue the process.

Moving on to step 15:
When dividing 5080 by 998, we get 5 with a remainder of 90.
The next digit of our result is 5. 
Result so far: 39980.1272545
Subtract 4990 from 5080 to get 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Moving on to step 16:
998 can be fit into 900 0 times, resulting in a remainder of 900.
The next digit of our result is 0. 
Result so far: 39980.1272545
Subtracting 0 from 900 leaves us with 900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9000, and continue the process.

The quotient of the division is 39980.1272545, and the remainder is 9e-07.