Change evaluation order for calculating percentage #918

Merged
merged 1 commit into from Jan 3, 2013
Commits on Jan 3, 2013
  1. Change evaluation order for calculating percentage

    jtward committed Jan 3, 2013
    Rounding errors are introduced when calculating the percentage when the total is 100 (for example if percentages have already been calculated). Calculating (total/100) first eliminates the error in this case.