Rational numbers are all real numbers , and can be positive or negative . The rationals are a dense subset of the real numbers : every real number has rational numbers arbitrarily close to it . A related property is that rational numbers are the only numbers with finite expansions as regular continued fractions .