We're dividing 982039 by 31 
We want to divide 982039 by 31.

Let's proceed to step 1:
The number 31 fits into 9 0 times, leaving 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.
Bring next digit (8) of the dividend behind the 9 and repeat the process: 98 / 31

Advancing to step 2:
98 divided by 31 is 3 with a remainder of 5.
Write down 3 as next digit of the result. 
Result so far: 3.0
The remainder is 5 after subtracting 93 from 98.
Bring next digit (2) of the dividend behind the 5 and repeat the process: 52 / 31

On to step 3:
When dividing 52 by 31, we get 1 with a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 31.0
Subtract 31 from 52 to get 21.
Append the next digit (0) from the dividend to 21 and continue with: 210 / 31

Advancing to step 4:
31 can be fit into 210 6 times, resulting in a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 316.0
Subtract 186 from 210 to get 24.
Append the next digit (3) from the dividend to 24 and continue with: 243 / 31

Moving on to step 5:
The number 31 fits into 243 7 times, leaving a remainder of 26.
Write down 7 as next digit of the result. 
Result so far: 3167.0
The remainder is 26 after subtracting 217 from 243.
Take the next digit (9) from the dividend and append it to 26, then repeat: 269 / 31

Step 6:
31 goes into 269 8 times with a remainder of 21.
The next digit of our result is 8. 
Result so far: 31678.0
Deduct 248 from 269 and we're left 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.

Let's proceed to step 7:
When dividing 210 by 31, we get 6 with a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 31678.6
If we take 186 away from 210, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 8:
The number 31 fits into 240 7 times, leaving a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 31678.67
Subtract 217 from 240 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 9:
If we divide 230 by 31, we get 7 and a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 31678.677
If we subtract 217 from 230, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Our division results in 31678.677 with a remaining 0.0013.