Team:DTU-Denmark/Achievements/Calculator
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) (Undo revision 336295 by Tbjohannesen (talk)) |
Tbjohannesen (Talk | contribs) |
||
Line 41: | Line 41: | ||
num = parseFloat(activity.value); | num = parseFloat(activity.value); | ||
- | activity.value = parseFloat(num); | + | num = Math.round(parseFloat(num) * 100000000 ) / 100000000 ; |
+ | |||
+ | activity.value = parseFloat(num).toPrecision(4); | ||
"> | "> |
Revision as of 17:39, 17 October 2014