How to simplify fractions with decimals