Let's divide 965259 by 31
We're looking to find how many times 31 goes into 965259.

Step 1:
If we divide 9 by 31, we get 0 and a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Bring next digit (6) of the dividend behind the 9 and repeat the process: 96 / 31

Let's proceed to step 2:
If we divide 96 by 31, we get 3 and a remainder of 3.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
The remainder is 3 after subtracting 93 from 96.
Fetch the next digit (5) from the dividend, attach it to 3 and continue: 35 / 31

Moving on to step 3:
31 can be fit into 35 1 times, resulting in a remainder of 4.
The next digit of our result is 1. 
Result so far: 31.0
If we subtract 31 from 35, we get 4.
Bring next digit (2) of the dividend behind the 4 and repeat the process: 42 / 31

Let's proceed to step 4:
42 divided by 31 is 1 with a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 311.0
Subtracting 31 from 42 leaves us with 11.
Append the next digit (5) from the dividend to 11 and continue with: 115 / 31

Moving on to step 5:
When dividing 115 by 31, we get 3 with a remainder of 22.
The next digit of our result is 3. 
Result so far: 3113.0
Deduct 93 from 115 and we're left with 22.
Fetch the next digit (9) from the dividend, attach it to 22 and continue: 229 / 31

Moving on to step 6:
31 goes into 229 7 times with a remainder of 12.
Write down 7 as next digit of the result. 
Result so far: 31137.0
Subtracting 217 from 229 leaves us 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.

Advancing to step 7:
When dividing 120 by 31, we get 3 with a remainder of 27.
The next digit of our result is 3. 
Result so far: 31137.3
Deduct 93 from 120 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 8:
If we divide 270 by 31, we get 8 and a remainder of 22.
The next digit of our result is 8. 
Result so far: 31137.38
The remainder is 22 after subtracting 248 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 9:
If we divide 220 by 31, we get 7 and a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 31137.387
Subtracting 217 from 220 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 10:
When dividing 30 by 31, we get 0 with a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 31137.387
Deduct 0 from 30 and we're left with 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 11:
300 divided by 31 is 9 with a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 31137.38709
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.

Step 12:
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: 31137.387096
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.

Moving on to step 13:
31 goes into 240 7 times with a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 31137.3870967
If we subtract 217 from 240, we 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.

Moving on to step 14:
31 goes into 230 7 times with a remainder of 13.
The next digit of our result is 7. 
Result so far: 31137.38709677
Deduct 217 from 230 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

In conclusion, the division gives 31137.38709677 with a balance of 1.3e-08.