We look at the division of 942198 by 31 
Let's see how many times 31 fits into 942198.

Advancing to step 1:
9 divided by 31 is 0 with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Take the next digit (4) from the dividend and append it to 9, then repeat: 94 / 31

On to step 2:
When dividing 94 by 31, we get 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 3.0
The remainder is 1 after subtracting 93 from 94.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 31

Let's proceed to step 3:
31 goes into 12 0 times with a remainder of 12.
Write down 0 as next digit of the result. 
Result so far: 30.0
If we take 0 away from 12, we end up with 12.
Grab the next digit (1) from the dividend, add it to 12, then carry on: 121 / 31

Going ahead to step 4:
The number 31 fits into 121 3 times, leaving a remainder of 28.
Write down 3 as next digit of the result. 
Result so far: 303.0
Subtract 93 from 121 to get 28.
Take the next digit (9) from the dividend and append it to 28, then repeat: 289 / 31

Going ahead to step 5:
31 goes into 289 9 times with a remainder of 10.
The next digit of our result is 9. 
Result so far: 3039.0
If we take 279 away from 289, we end up with 10.
Take the next digit (8) from the dividend and append it to 10, then repeat: 108 / 31

Going ahead to step 6:
31 goes into 108 3 times with a remainder of 15.
Put 3 as the next digit of the answer. 
Result so far: 30393.0
Subtracting 93 from 108 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 7:
31 can be fit into 150 4 times, resulting in a remainder of 26.
Use 4 as the next digit of our solution. 
Result so far: 30393.4
If we take 124 away from 150, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 8:
The number 31 fits into 260 8 times, leaving a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 30393.48
Deduct 248 from 260 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 9:
31 can be fit into 120 3 times, resulting in a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 30393.483
The remainder is 27 after subtracting 93 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 10:
When dividing 270 by 31, we get 8 with a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 30393.4838
If we take 248 away from 270, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 11:
The number 31 fits into 220 7 times, leaving a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 30393.48387
If we subtract 217 from 220, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 12:
30 divided by 31 is 0 with a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 30393.48387
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 13:
If we divide 300 by 31, we get 9 and a remainder of 21.
Write down 9 as next digit of the result. 
Result so far: 30393.4838709
Subtracting 279 from 300 leaves us with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 14:
210 divided by 31 is 6 with a remainder of 24.
The next digit of our result is 6. 
Result so far: 30393.48387096
If we subtract 186 from 210, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

After the division, we end up with 30393.48387096 and a remainder of 2.4e-08.