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

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
Deduct 0 from 9 and we're left with 9.
Fetch the next digit (5) from the dividend, attach it to 9 and continue: 95 / 31

On to step 2:
31 can be fit into 95 3 times, resulting in a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtract 93 from 95 to get 2.
Grab the next digit (9) from the dividend, add it to 2, then carry on: 29 / 31

Advancing to step 3:
31 goes into 29 0 times with a remainder of 29.
Put 0 as the next digit of the answer. 
Result so far: 30.0
If we subtract 0 from 29, we get 29.
Take the next digit (4) from the dividend and append it to 29, then repeat: 294 / 31

On to step 4:
31 goes into 294 9 times with a remainder of 15.
Write down 9 as next digit of the result. 
Result so far: 309.0
If we subtract 279 from 294, we get 15.
Grab the next digit (7) from the dividend, add it to 15, then carry on: 157 / 31

Let's proceed to step 5:
When dividing 157 by 31, we get 5 with a remainder of 2.
Put 5 as the next digit of the answer. 
Result so far: 3095.0
If we subtract 155 from 157, we get 2.
Append the next digit (0) from the dividend to 2 and continue with: 20 / 31

Step 6:
If we divide 20 by 31, we get 0 and a remainder of 20.
The next digit of our result is 0. 
Result so far: 30950.0
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 7:
200 divided by 31 is 6 with a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 30950.6
The remainder is 14 after subtracting 186 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 8:
31 goes into 140 4 times with a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 30950.64
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.

Moving on to step 9:
31 goes into 160 5 times with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 30950.645
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.

Moving on to step 10:
The number 31 fits into 50 1 times, leaving a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 30950.6451
Deduct 31 from 50 and we're left 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.

Going ahead to step 11:
31 goes into 190 6 times with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 30950.64516
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.

On to step 12:
The number 31 fits into 40 1 times, leaving a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 30950.645161
Subtract 31 from 40 to 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.

Let's proceed to step 13:
If we divide 90 by 31, we get 2 and a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 30950.6451612
Subtract 62 from 90 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 14:
31 goes into 280 9 times with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 30950.64516129
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.

The final result is 30950.64516129 with a remainder of 1e-09.