Approximation of Whole and Rational Numbers