We're dividing 664827 by 31 
Let's see how many times 31 fits into 664827.

On to step 1:
If we divide 6 by 31, we get 0 and a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Take the next digit (6) from the dividend and append it to 6, then repeat: 66 / 31

Advancing to step 2:
31 goes into 66 2 times with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtract 62 from 66 to get 4.
Take the next digit (4) from the dividend and append it to 4, then repeat: 44 / 31

Step 3:
44 divided by 31 is 1 with a remainder of 13.
Write down 1 as next digit of the result. 
Result so far: 21.0
Deduct 31 from 44 and we're left with 13.
Take the next digit (8) from the dividend and append it to 13, then repeat: 138 / 31

On to step 4:
The number 31 fits into 138 4 times, leaving a remainder of 14.
Use 4 as the next digit of our solution. 
Result so far: 214.0
If we take 124 away from 138, we end up with 14.
Grab the next digit (2) from the dividend, add it to 14, then carry on: 142 / 31

On to step 5:
31 goes into 142 4 times with a remainder of 18.
Record the quotient 4 as the next digit in the result. 
Result so far: 2144.0
The remainder is 18 after subtracting 124 from 142.
Take the next digit (7) from the dividend and append it to 18, then repeat: 187 / 31

On to step 6:
The number 31 fits into 187 6 times, leaving a remainder of 1.
The number 6 becomes the next digit in our result. 
Result so far: 21446.0
The remainder is 1 after subtracting 186 from 187.
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 7:
If we divide 10 by 31, we get 0 and a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 21446.0
Subtracting 0 from 10 leaves us with 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 8:
31 can be fit into 100 3 times, resulting in a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 21446.03
If we subtract 93 from 100, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 9:
When dividing 70 by 31, we get 2 with a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 21446.032
The remainder is 8 after subtracting 62 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 10:
80 divided by 31 is 2 with a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 21446.0322
Subtracting 62 from 80 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final result is 21446.0322 with a remainder of 0.00018.