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