Let's divide 30817942 by 998
Let's see how many times 998 fits into 30817942.

Let's proceed to step 1:
The number 998 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (0) from the dividend, add it to 3, then carry on: 30 / 998

Going ahead to step 2:
998 can be fit into 30 0 times, resulting in a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 30 and we're left with 30.
Bring next digit (8) of the dividend behind the 30 and repeat the process: 308 / 998

Advancing to step 3:
When dividing 308 by 998, we get 0 with a remainder of 308.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 308, we get 308.
Bring next digit (1) of the dividend behind the 308 and repeat the process: 3081 / 998

Let's proceed to step 4:
3081 divided by 998 is 3 with a remainder of 87.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtract 2994 from 3081 to get 87.
Fetch the next digit (7) from the dividend, attach it to 87 and continue: 877 / 998

Let's proceed to step 5:
When dividing 877 by 998, we get 0 with a remainder of 877.
Put 0 as the next digit of the answer. 
Result so far: 30.0
Subtracting 0 from 877 leaves us with 877.
Fetch the next digit (9) from the dividend, attach it to 877 and continue: 8779 / 998

On to step 6:
When dividing 8779 by 998, we get 8 with a remainder of 795.
Write down 8 as next digit of the result. 
Result so far: 308.0
If we take 7984 away from 8779, we end up with 795.
Take the next digit (4) from the dividend and append it to 795, then repeat: 7954 / 998

Let's proceed to step 7:
998 goes into 7954 7 times with a remainder of 968.
Write down 7 as next digit of the result. 
Result so far: 3087.0
If we subtract 6986 from 7954, we get 968.
Fetch the next digit (2) from the dividend, attach it to 968 and continue: 9682 / 998

Let's proceed to step 8:
998 can be fit into 9682 9 times, resulting in a remainder of 700.
The next digit of our result is 9. 
Result so far: 30879.0
The remainder is 700 after subtracting 8982 from 9682.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7000, and continue the process.

Moving on to step 9:
If we divide 7000 by 998, we get 7 and a remainder of 14.
Use 7 as the next digit of our solution. 
Result so far: 30879.7
If we subtract 6986 from 7000, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 10:
998 goes into 140 0 times with a remainder of 140.
The next digit of our result is 0. 
Result so far: 30879.7
If we take 0 away from 140, we end up with 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

Moving on to step 11:
998 can be fit into 1400 1 times, resulting in a remainder of 402.
Write down 1 as next digit of the result. 
Result so far: 30879.701
The remainder is 402 after subtracting 998 from 1400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4020, and continue the process.

Moving on to step 12:
4020 divided by 998 is 4 with a remainder of 28.
The next digit of our result is 4. 
Result so far: 30879.7014
Subtracting 3992 from 4020 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 13:
998 goes into 280 0 times with a remainder of 280.
Record the quotient 0 as the next digit in the result. 
Result so far: 30879.7014
If we take 0 away from 280, we end up with 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Going ahead to step 14:
When dividing 2800 by 998, we get 2 with a remainder of 804.
Record the quotient 2 as the next digit in the result. 
Result so far: 30879.701402
If we subtract 1996 from 2800, we get 804.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8040, and continue the process.

Going ahead to step 15:
When dividing 8040 by 998, we get 8 with a remainder of 56.
Record the quotient 8 as the next digit in the result. 
Result so far: 30879.7014028
If we take 7984 away from 8040, we end up with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Going ahead to step 16:
When dividing 560 by 998, we get 0 with a remainder of 560.
The next digit of our result is 0. 
Result so far: 30879.7014028
Subtracting 0 from 560 leaves us with 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

In conclusion, the division gives 30879.7014028 with a balance of 5.6e-07.