# How do you convert decimals and whole numbers into fractions?

Apr 1, 2016

Terminating decimals are easy to convert into fractions. Just note the place of last digit of the number after decimal point. Say for example let us consider the number $10.23456789$, in which last digit $9$ after decimal is at eighth position after decimal point. Hence $10.23456789 = \frac{1023456789}{100000000}$. This may be simplified if possible by dividing numerator and denominator by a common number. As only prime factors of denominator are invariably $2$ and $5$, if numerator is not divisible by this number (as in the given instance), then the fraction cannot be simplified further.
Whole numbers are easiest to be converted into fractions. If the number is $x$ just write it as $\frac{x}{1}$ and then multiply numerator and denominator by any common desired number. For example, $16$ can be written as $\frac{16}{1} = \frac{16 \times 15}{1 \times 15} = \frac{240}{15}$.