Question: is undefined a rational number?
Answer: All integers and fractions with integer numerators and non-zero integer denominators are rational numbers. Remember that when the denominator of a fraction is zero then the fraction is undefined. You can write any rational number as a decimal number but not all decimal numbers are rational numbers.