We're dividing 640087 by 24 
We want to divide 640087 by 24.

On to step 1:
24 can be fit into 6 0 times, resulting in a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Take the next digit (4) from the dividend and append it to 6, then repeat: 64 / 24

Going ahead to step 2:
When dividing 64 by 24, we get 2 with a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we take 48 away from 64, we end up with 16.
Include the next digit (0) from the dividend after 16, then repeat: 160 / 24

Going ahead to step 3:
If we divide 160 by 24, we get 6 and a remainder of 16.
The number 6 becomes the next digit in our result. 
Result so far: 26.0
The remainder is 16 after subtracting 144 from 160.
Include the next digit (0) from the dividend after 16, then repeat: 160 / 24

On to step 4:
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: 266.0
The remainder is 16 after subtracting 144 from 160.
Grab the next digit (8) from the dividend, add it to 16, then carry on: 168 / 24

Moving on to step 5:
If we divide 168 by 24, we get 7 and a remainder of 0.
Record the quotient 7 as the next digit in the result. 
Result so far: 2667.0
If we subtract 168 from 168, we get 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 24

Going ahead to step 6:
The number 24 fits into 7 0 times, leaving a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 26670.0
The remainder is 7 after subtracting 0 from 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 7:
When dividing 70 by 24, we get 2 with a remainder of 22.
The number 2 becomes the next digit in our result. 
Result so far: 26670.2
If we take 48 away from 70, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 8:
24 goes into 220 9 times with a remainder of 4.
The number 9 becomes the next digit in our result. 
Result so far: 26670.29
Subtracting 216 from 220 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.

Going ahead to step 9:
When dividing 40 by 24, we get 1 with a remainder of 16.
The next digit of our result is 1. 
Result so far: 26670.291
If we take 24 away from 40, we end up 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.

Going ahead to step 10:
24 goes into 160 6 times with a remainder of 16.
The number 6 becomes the next digit in our result. 
Result so far: 26670.2916
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.

Let's proceed to step 11:
24 goes into 160 6 times with a remainder of 16.
The number 6 becomes the next digit in our result. 
Result so far: 26670.29166
If we take 144 away from 160, we end up 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.

The final outcome is 26670.29166, with a leftover of 1.6e-05.