We're dividing 31930761 by 998 
Let's see how many times 998 fits into 31930761.

Step 1:
3 divided by 998 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 998

Going ahead to step 2:
31 divided by 998 is 0 with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Take the next digit (9) from the dividend and append it to 31, then repeat: 319 / 998

Let's proceed to step 3:
998 can be fit into 319 0 times, resulting in a remainder of 319.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 319, we get 319.
Take the next digit (3) from the dividend and append it to 319, then repeat: 3193 / 998

Moving on to step 4:
998 can be fit into 3193 3 times, resulting in a remainder of 199.
The next digit of our result is 3. 
Result so far: 3.0
If we subtract 2994 from 3193, we get 199.
Grab the next digit (0) from the dividend, add it to 199, then carry on: 1990 / 998

Going ahead to step 5:
998 goes into 1990 1 times with a remainder of 992.
Use 1 as the next digit of our solution. 
Result so far: 31.0
Subtracting 998 from 1990 leaves us with 992.
Fetch the next digit (7) from the dividend, attach it to 992 and continue: 9927 / 998

Going ahead to step 6:
If we divide 9927 by 998, we get 9 and a remainder of 945.
The number 9 becomes the next digit in our result. 
Result so far: 319.0
Deduct 8982 from 9927 and we're left with 945.
Bring next digit (6) of the dividend behind the 945 and repeat the process: 9456 / 998

Advancing to step 7:
When dividing 9456 by 998, we get 9 with a remainder of 474.
Write down 9 as next digit of the result. 
Result so far: 3199.0
Subtract 8982 from 9456 to get 474.
Append the next digit (1) from the dividend to 474 and continue with: 4741 / 998

On to step 8:
4741 divided by 998 is 4 with a remainder of 749.
Record the quotient 4 as the next digit in the result. 
Result so far: 31994.0
If we take 3992 away from 4741, we end up with 749.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7490, and continue the process.

Going ahead to step 9:
998 goes into 7490 7 times with a remainder of 504.
Put 7 as the next digit of the answer. 
Result so far: 31994.7
If we subtract 6986 from 7490, we get 504.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5040, and continue the process.

Let's proceed to step 10:
5040 divided by 998 is 5 with a remainder of 50.
Record the quotient 5 as the next digit in the result. 
Result so far: 31994.75
If we subtract 4990 from 5040, we get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Step 11:
When dividing 500 by 998, we get 0 with a remainder of 500.
The number 0 becomes the next digit in our result. 
Result so far: 31994.75
Deduct 0 from 500 and we're left with 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5000, and continue the process.

Going ahead to step 12:
5000 divided by 998 is 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 31994.7505
Subtract 4990 from 5000 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 13:
The number 998 fits into 100 0 times, leaving a remainder of 100.
Use 0 as the next digit of our solution. 
Result so far: 31994.7505
Subtracting 0 from 100 leaves us 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.

Going ahead to step 14:
998 goes into 1000 1 times with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 31994.750501
If we take 998 away from 1000, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 15:
998 goes into 20 0 times with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 31994.750501
Deduct 0 from 20 and we're left 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.

Advancing to step 16:
998 can be fit into 200 0 times, resulting in a remainder of 200.
Write down 0 as next digit of the result. 
Result so far: 31994.750501
Subtract 0 from 200 to 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.

In conclusion, the division gives 31994.750501 with a balance of 2e-07.