Simplify calculating percentages.