Calculating specific percentages of a number