This is cleaner, prevent the percent from being greater than 100.