We're dividing 966315 by 31 
We want to figure out the number of times 966315 can be divided by 31.

Moving on to step 1:
31 can be fit into 9 0 times, resulting in a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Bring next digit (6) of the dividend behind the 9 and repeat the process: 96 / 31

Advancing to step 2:
If we divide 96 by 31, we get 3 and a remainder of 3.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtracting 93 from 96 leaves us with 3.
Grab the next digit (6) from the dividend, add it to 3, then carry on: 36 / 31

Advancing to step 3:
36 divided by 31 is 1 with a remainder of 5.
The number 1 becomes the next digit in our result. 
Result so far: 31.0
Subtract 31 from 36 to get 5.
Take the next digit (3) from the dividend and append it to 5, then repeat: 53 / 31

Moving on to step 4:
If we divide 53 by 31, we get 1 and a remainder of 22.
Put 1 as the next digit of the answer. 
Result so far: 311.0
Subtracting 31 from 53 leaves us with 22.
Take the next digit (1) from the dividend and append it to 22, then repeat: 221 / 31

Advancing to step 5:
The number 31 fits into 221 7 times, leaving a remainder of 4.
The next digit of our result is 7. 
Result so far: 3117.0
If we take 217 away from 221, we end up with 4.
Grab the next digit (5) from the dividend, add it to 4, then carry on: 45 / 31

Let's proceed to step 6:
When dividing 45 by 31, we get 1 with a remainder of 14.
Record the quotient 1 as the next digit in the result. 
Result so far: 31171.0
Subtract 31 from 45 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 7:
31 goes into 140 4 times with a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 31171.4
Subtracting 124 from 140 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 8:
31 goes into 160 5 times with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 31171.45
Subtracting 155 from 160 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 9:
31 can be fit into 50 1 times, resulting in a remainder of 19.
The next digit of our result is 1. 
Result so far: 31171.451
Subtracting 31 from 50 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 10:
If we divide 190 by 31, we get 6 and a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 31171.4516
Subtract 186 from 190 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 11:
31 can be fit into 40 1 times, resulting in a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 31171.45161
If we subtract 31 from 40, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 12:
If we divide 90 by 31, we get 2 and a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 31171.451612
Subtracting 62 from 90 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 13:
31 can be fit into 280 9 times, resulting in a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 31171.4516129
If we subtract 279 from 280, we get 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 14:
31 can be fit into 10 0 times, resulting in a remainder of 10.
The next digit of our result is 0. 
Result so far: 31171.4516129
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.

In conclusion, the division gives 31171.4516129 with a balance of 1e-08.