Let's divide 660964 by 31
Let's see how many times 31 fits into 660964.

Moving on to step 1:
If we divide 6 by 31, we get 0 and a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Append the next digit (6) from the dividend to 6 and continue with: 66 / 31

Let's proceed to step 2:
The number 31 fits into 66 2 times, leaving a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtract 62 from 66 to get 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 31

Step 3:
The number 31 fits into 40 1 times, leaving a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 21.0
Subtracting 31 from 40 leaves us with 9.
Take the next digit (9) from the dividend and append it to 9, then repeat: 99 / 31

Moving on to step 4:
31 goes into 99 3 times with a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 213.0
The remainder is 6 after subtracting 93 from 99.
Take the next digit (6) from the dividend and append it to 6, then repeat: 66 / 31

Advancing to step 5:
If we divide 66 by 31, we get 2 and a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 2132.0
If we take 62 away from 66, we end up with 4.
Fetch the next digit (4) from the dividend, attach it to 4 and continue: 44 / 31

Moving on to step 6:
The number 31 fits into 44 1 times, leaving a remainder of 13.
The next digit of our result is 1. 
Result so far: 21321.0
If we take 31 away from 44, we end up 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.

On to step 7:
If we divide 130 by 31, we get 4 and a remainder of 6.
Write down 4 as next digit of the result. 
Result so far: 21321.4
Subtracting 124 from 130 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 8:
60 divided by 31 is 1 with a remainder of 29.
Put 1 as the next digit of the answer. 
Result so far: 21321.41
The remainder is 29 after subtracting 31 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Going ahead to step 9:
290 divided by 31 is 9 with a remainder of 11.
Use 9 as the next digit of our solution. 
Result so far: 21321.419
Subtract 279 from 290 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 10:
When dividing 110 by 31, we get 3 with a remainder of 17.
Use 3 as the next digit of our solution. 
Result so far: 21321.4193
The remainder is 17 after subtracting 93 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 11:
When dividing 170 by 31, we get 5 with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 21321.41935
The remainder is 15 after subtracting 155 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 12:
31 can be fit into 150 4 times, resulting in a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 21321.419354
Subtracting 124 from 150 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 13:
If we divide 260 by 31, we get 8 and a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 21321.4193548
The remainder is 12 after subtracting 248 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 14:
If we divide 120 by 31, we get 3 and a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 21321.41935483
Subtracting 93 from 120 leaves us 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.

After the division, we end up with 21321.41935483 and a remainder of 2.7e-08.