987874 divided by 24 
We want to divide 987874 by 24.

On to step 1:
If we divide 9 by 24, we get 0 and a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 24

On to step 2:
When dividing 98 by 24, we get 4 with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 4.0
The remainder is 2 after subtracting 96 from 98.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 24

Going ahead to step 3:
24 can be fit into 27 1 times, resulting in a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 41.0
Deduct 24 from 27 and we're left with 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 24

Going ahead to step 4:
If we divide 38 by 24, we get 1 and a remainder of 14.
Write down 1 as next digit of the result. 
Result so far: 411.0
Subtract 24 from 38 to get 14.
Include the next digit (7) from the dividend after 14, then repeat: 147 / 24

On to step 5:
The number 24 fits into 147 6 times, leaving a remainder of 3.
Use 6 as the next digit of our solution. 
Result so far: 4116.0
If we subtract 144 from 147, we get 3.
Grab the next digit (4) from the dividend, add it to 3, then carry on: 34 / 24

Moving on to step 6:
When dividing 34 by 24, we get 1 with a remainder of 10.
Record the quotient 1 as the next digit in the result. 
Result so far: 41161.0
If we take 24 away from 34, 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.

Going ahead to step 7:
100 divided by 24 is 4 with a remainder of 4.
The next digit of our result is 4. 
Result so far: 41161.4
The remainder is 4 after subtracting 96 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 8:
24 can be fit into 40 1 times, resulting in a remainder of 16.
The next digit of our result is 1. 
Result so far: 41161.41
Deduct 24 from 40 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.

Moving on to step 9:
When dividing 160 by 24, we get 6 with a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 41161.416
Subtracting 144 from 160 leaves us 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.

Advancing 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: 41161.4166
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.

Our division results in 41161.4166 with a remaining 0.00016.