How to reduce decimals to fractions.