Conversion of fractions to decimal and percent forms