We look at the division of 983317 by 31 
Our goal is to divide 983317 by 31.

Step 1:
31 goes into 9 0 times with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Fetch the next digit (8) from the dividend, attach it to 9 and continue: 98 / 31

Moving on to step 2:
31 can be fit into 98 3 times, resulting in a remainder of 5.
Put 3 as the next digit of the answer. 
Result so far: 3.0
The remainder is 5 after subtracting 93 from 98.
Include the next digit (3) from the dividend after 5, then repeat: 53 / 31

Step 3:
31 can be fit into 53 1 times, resulting in a remainder of 22.
Use 1 as the next digit of our solution. 
Result so far: 31.0
Deduct 31 from 53 and we're left with 22.
Bring next digit (3) of the dividend behind the 22 and repeat the process: 223 / 31

Advancing to step 4:
When dividing 223 by 31, we get 7 with a remainder of 6.
The next digit of our result is 7. 
Result so far: 317.0
The remainder is 6 after subtracting 217 from 223.
Append the next digit (1) from the dividend to 6 and continue with: 61 / 31

Step 5:
31 can be fit into 61 1 times, resulting in a remainder of 30.
Record the quotient 1 as the next digit in the result. 
Result so far: 3171.0
Subtract 31 from 61 to get 30.
Grab the next digit (7) from the dividend, add it to 30, then carry on: 307 / 31

On to step 6:
31 goes into 307 9 times with a remainder of 28.
Put 9 as the next digit of the answer. 
Result so far: 31719.0
Subtract 279 from 307 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 7:
31 can be fit into 280 9 times, resulting in a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 31719.9
If we take 279 away from 280, we end up 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.

Let's proceed to step 8:
If we divide 10 by 31, we get 0 and a remainder of 10.
The next digit of our result is 0. 
Result so far: 31719.9
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 9:
When dividing 100 by 31, we get 3 with a remainder of 7.
The next digit of our result is 3. 
Result so far: 31719.903
If we take 93 away from 100, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 10:
The number 31 fits into 70 2 times, leaving a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 31719.9032
If we take 62 away from 70, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 11:
The number 31 fits into 80 2 times, leaving a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 31719.90322
If we subtract 62 from 80, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

In conclusion, the division gives 31719.90322 with a balance of 1.8e-05.