 Most often, a computer will use a rational approximation to a real number.The most general data type for a rational number stores the numerator and denominator as integers.A fixed-point data type uses the same denominator for all numbers.