We divide 640344 by 31
We want to figure out the number of times 640344 can be divided by 31.

Moving on to step 1:
If we divide 6 by 31, we get 0 and a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Bring next digit (4) of the dividend behind the 6 and repeat the process: 64 / 31

Going ahead to step 2:
31 can be fit into 64 2 times, resulting in a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we take 62 away from 64, we end up with 2.
Take the next digit (0) from the dividend and append it to 2, then repeat: 20 / 31

Going ahead to step 3:
If we divide 20 by 31, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 20.0
The remainder is 20 after subtracting 0 from 20.
Bring next digit (3) of the dividend behind the 20 and repeat the process: 203 / 31

Going ahead to step 4:
31 can be fit into 203 6 times, resulting in a remainder of 17.
Record the quotient 6 as the next digit in the result. 
Result so far: 206.0
Subtracting 186 from 203 leaves us with 17.
Include the next digit (4) from the dividend after 17, then repeat: 174 / 31

On to step 5:
31 goes into 174 5 times with a remainder of 19.
The next digit of our result is 5. 
Result so far: 2065.0
Subtract 155 from 174 to get 19.
Append the next digit (4) from the dividend to 19 and continue with: 194 / 31

Going ahead to step 6:
If we divide 194 by 31, we get 6 and a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 20656.0
Subtract 186 from 194 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 7:
When dividing 80 by 31, we get 2 with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 20656.2
If we subtract 62 from 80, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 8:
If we divide 180 by 31, we get 5 and a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 20656.25
If we take 155 away from 180, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 9:
If we divide 250 by 31, we get 8 and a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 20656.258
If we take 248 away from 250, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 10:
The number 31 fits into 20 0 times, leaving a remainder of 20.
The next digit of our result is 0. 
Result so far: 20656.258
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 11:
31 goes into 200 6 times with a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 20656.25806
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.

Let's proceed to step 12:
When dividing 140 by 31, we get 4 with a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 20656.258064
If we subtract 124 from 140, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 13:
If we divide 160 by 31, we get 5 and a remainder of 5.
The next digit of our result is 5. 
Result so far: 20656.2580645
Deduct 155 from 160 and we're left 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 14:
If we divide 50 by 31, we get 1 and a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 20656.25806451
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

In conclusion, the division gives 20656.25806451 with a balance of 1.9e-08.