Commit 1a463962 by Adam Palay

change int to float for student progress display

parent 76cf2027
......@@ -42,7 +42,7 @@ class @Problem
progress = "(#{detail} points)"
if status == 'none' and detail? and detail.indexOf('/') > 0
a = detail.split('/')
possible = parseInt(a[1])
possible = parseFloat(a[1])
if possible == 1
# i18n
progress = "(#{possible} point possible)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment