Let the two numbers be \( x \) and \( 2x \) (since one is twice the other). According to the given condition, the sum of the numbers is 24:
\[
x + 2x = 24
\]
Simplifying:
\[
3x = 24
\]
\[
x = 8
\]
So, the two numbers are \( x = 8 \) and \( 2x = 16 \).
Step 1: Conclusion.
Thus, the numbers are 16 and 8.