Team:DTU-Denmark/Achievements/Calculator
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
Tbjohannesen (Talk | contribs) |
||
Line 41: | Line 41: | ||
num = parseFloat(activity.value); | num = parseFloat(activity.value); | ||
- | num = Math.round(parseFloat(num) * | + | num = Math.round(parseFloat(num) * 100 ) / 100 ; |
- | activity.value = parseFloat(num | + | activity.value = parseFloat(num); |
"> | "> |
Revision as of 17:40, 17 October 2014