We're dividing 502229 by 24 
We want to figure out the number of times 502229 can be divided by 24.

On to step 1:
24 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 24

Step 2:
50 divided by 24 is 2 with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtracting 48 from 50 leaves us with 2.
Bring next digit (2) of the dividend behind the 2 and repeat the process: 22 / 24

Moving on to step 3:
24 can be fit into 22 0 times, resulting in a remainder of 22.
Record the quotient 0 as the next digit in the result. 
Result so far: 20.0
The remainder is 22 after subtracting 0 from 22.
Include the next digit (2) from the dividend after 22, then repeat: 222 / 24

Moving on to step 4:
When dividing 222 by 24, we get 9 with a remainder of 6.
The next digit of our result is 9. 
Result so far: 209.0
If we take 216 away from 222, we end up with 6.
Bring next digit (2) of the dividend behind the 6 and repeat the process: 62 / 24

Moving on to step 5:
When dividing 62 by 24, we get 2 with a remainder of 14.
Put 2 as the next digit of the answer. 
Result so far: 2092.0
Subtract 48 from 62 to get 14.
Bring next digit (9) of the dividend behind the 14 and repeat the process: 149 / 24

Advancing to step 6:
149 divided by 24 is 6 with a remainder of 5.
Use 6 as the next digit of our solution. 
Result so far: 20926.0
If we subtract 144 from 149, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
24 can be fit into 50 2 times, resulting in a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 20926.2
If we subtract 48 from 50, we get 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 8:
The number 24 fits into 20 0 times, leaving a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 20926.2
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 9:
If we divide 200 by 24, we get 8 and a remainder of 8.
The next digit of our result is 8. 
Result so far: 20926.208
Deduct 192 from 200 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 10:
80 divided by 24 is 3 with a remainder of 8.
Put 3 as the next digit of the answer. 
Result so far: 20926.2083
Subtract 72 from 80 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 11:
24 goes into 80 3 times with a remainder of 8.
Write down 3 as next digit of the result. 
Result so far: 20926.20833
Deduct 72 from 80 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

After the division, we end up with 20926.20833 and a remainder of 8e-06.