We divide 640501 by 24
Let's see how many times 24 fits into 640501.

Advancing to step 1:
The number 24 fits into 6 0 times, leaving a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Fetch the next digit (4) from the dividend, attach it to 6 and continue: 64 / 24

On to step 2:
If we divide 64 by 24, we get 2 and a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 48 from 64 leaves us with 16.
Bring next digit (0) of the dividend behind the 16 and repeat the process: 160 / 24

Advancing to step 3:
160 divided by 24 is 6 with a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 26.0
Deduct 144 from 160 and we're left with 16.
Append the next digit (5) from the dividend to 16 and continue with: 165 / 24

On to step 4:
24 can be fit into 165 6 times, resulting in a remainder of 21.
Write down 6 as next digit of the result. 
Result so far: 266.0
If we subtract 144 from 165, we get 21.
Take the next digit (0) from the dividend and append it to 21, then repeat: 210 / 24

On to step 5:
24 can be fit into 210 8 times, resulting in a remainder of 18.
Put 8 as the next digit of the answer. 
Result so far: 2668.0
Subtract 192 from 210 to get 18.
Include the next digit (1) from the dividend after 18, then repeat: 181 / 24

On to step 6:
181 divided by 24 is 7 with a remainder of 13.
The next digit of our result is 7. 
Result so far: 26687.0
The remainder is 13 after subtracting 168 from 181.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 7:
If we divide 130 by 24, we get 5 and a remainder of 10.
The next digit of our result is 5. 
Result so far: 26687.5
If we take 120 away from 130, we end up 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.

Moving on to step 8:
The number 24 fits into 100 4 times, leaving a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 26687.54
Subtracting 96 from 100 leaves us with 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 9:
40 divided by 24 is 1 with a remainder of 16.
Put 1 as the next digit of the answer. 
Result so far: 26687.541
If we subtract 24 from 40, 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.

Moving on to step 10:
If we divide 160 by 24, we get 6 and a remainder of 16.
The next digit of our result is 6. 
Result so far: 26687.5416
Deduct 144 from 160 and we're left 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.

Step 11:
The number 24 fits into 160 6 times, leaving a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 26687.54166
If we subtract 144 from 160, 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.

After the division, we end up with 26687.54166 and a remainder of 1.6e-05.