We look at the division of 972998 by 31 
We're looking to find how many times 31 goes into 972998.

Let's proceed to step 1:
When dividing 9 by 31, we get 0 with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Append the next digit (7) from the dividend to 9 and continue with: 97 / 31

Step 2:
97 divided by 31 is 3 with a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
The remainder is 4 after subtracting 93 from 97.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 31

Step 3:
31 goes into 42 1 times with a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 31.0
The remainder is 11 after subtracting 31 from 42.
Include the next digit (9) from the dividend after 11, then repeat: 119 / 31

On to step 4:
31 can be fit into 119 3 times, resulting in a remainder of 26.
Record the quotient 3 as the next digit in the result. 
Result so far: 313.0
The remainder is 26 after subtracting 93 from 119.
Take the next digit (9) from the dividend and append it to 26, then repeat: 269 / 31

On to step 5:
31 can be fit into 269 8 times, resulting in a remainder of 21.
Write down 8 as next digit of the result. 
Result so far: 3138.0
Subtracting 248 from 269 leaves us with 21.
Append the next digit (8) from the dividend to 21 and continue with: 218 / 31

On to step 6:
31 can be fit into 218 7 times, resulting in a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 31387.0
Subtracting 217 from 218 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
10 divided by 31 is 0 with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 31387.0
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
31 goes into 100 3 times with a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 31387.03
The remainder is 7 after subtracting 93 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 9:
31 goes into 70 2 times with a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 31387.032
The remainder is 8 after subtracting 62 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 10:
31 goes into 80 2 times with a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 31387.0322
Subtracting 62 from 80 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

After the division, we end up with 31387.0322 and a remainder of 0.00018.