Both.
Chat with our AI personalities
-18.75 is not a whole number but it is a rational number
rational
How about 27 whose cube root is 3 which is a rational whole number.
Some rational numbers are whole numbers, some are not. The set of whole numbers is a proper subset of rational numbers.
It is a rational number but not either of the other two.