Fraction to percentage
Convert a fraction into a percentage and round the result to the desired precision.
1. Simplify the fraction
Simplify the fraction if necessary. For example, `3250/6500` is reduced as follows,
`1/2 = (3250\times1)/(3250\times2) `
2. Convert fraction to decimal
The numerator is divided by the denominator to get a decimal number. For example,
`3049/20000 = 0.15245`
3. Convert decimal number to percentage
We multiply the result by 100 and round it. Example, for 0.15245 the percentage is equal to
`0.15245\times100 = 15.245`
Rounded to 1 decimal, we get
`0.15245\approx 15.2% `