Fixed redunant rounding of final grade percent, which was causing floating point weirdness.

This commit is contained in:
Bridger Maxwell
2012-11-15 13:24:19 -05:00
parent b6ce46ca52
commit ba57e8a7a5

View File

@@ -90,7 +90,7 @@ $(function () {
ticks += [ [overviewBarX, "Total"] ]
tickIndex += 1 + sectionSpacer
totalScore = math.floor(grade_summary['percent'] * 100) / 100 #We floor it to the nearest percent, 80.9 won't show up like a 90 (an A)
totalScore = grade_summary['percent']
detail_tooltips['Dropped Scores'] = dropped_score_tooltips