Commit 1a463962 by Adam Palay

change int to float for student progress display

parent 76cf2027
...@@ -42,7 +42,7 @@ class @Problem ...@@ -42,7 +42,7 @@ class @Problem
progress = "(#{detail} points)" progress = "(#{detail} points)"
if status == 'none' and detail? and detail.indexOf('/') > 0 if status == 'none' and detail? and detail.indexOf('/') > 0
a = detail.split('/') a = detail.split('/')
possible = parseInt(a[1]) possible = parseFloat(a[1])
if possible == 1 if possible == 1
# i18n # i18n
progress = "(#{possible} point possible)" 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