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