Team:DTU-Denmark/Achievements/Calculator
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
Tbjohannesen (Talk | contribs) |
||
Line 62: | Line 62: | ||
activity.value = activity1.toExponential(2); | activity.value = activity1.toExponential(2); | ||
} else { | } else { | ||
- | activity.value = (Math.round(activity1)*100)/100; | + | activity.value = (Math.round(parseFloat(activity1))*100)/100; |
} | } | ||
Revision as of 01:14, 18 October 2014