Team:DTU-Denmark/Achievements/Calculator
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
Tbjohannesen (Talk | contribs) |
||
Line 42: | Line 42: | ||
num = Math.round(parseFloat(num) * 10000000 ) / 10000000 ; | num = Math.round(parseFloat(num) * 10000000 ) / 10000000 ; | ||
+ | |||
+ | num = parseFloat(num).toPrecision(2); | ||
activity.value = parseFloat(num); | activity.value = parseFloat(num); |
Revision as of 17:51, 17 October 2014