Conversion of fractions and decimals into percentages