Fixed the percent calculation so the number is rounded