Team:DTU-Denmark/Achievements/Calculator
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
Tbjohannesen (Talk | contribs) |
||
Line 59: | Line 59: | ||
- | if (activity1 <= 0.001 || activity1 >= 1000) {activity.value = activity1.toExponential(2) } else { | + | if (activity1 <= 0.001 || activity1 >= 1000) {activity.value = activity1.toExponential(2) } else { activity.value = Math.round(activity1)*10000)/10000 }; |
activity2.value = activity1.toExponential(2) ; | activity2.value = activity1.toExponential(2) ; |
Revision as of 01:03, 18 October 2014