Team:DTU-Denmark/Achievements/Calculator
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
Tbjohannesen (Talk | contribs) |
||
Line 58: | Line 58: | ||
activity.value = (parseFloat(conc)/(parseFloat(CFUcount)/1e12)*(602200/(parseFloat(fold)/100)))*((parseFloat(degenvar))+(parseFloat(growthvar)))/parseFloat(copynumber.value); | activity.value = (parseFloat(conc)/(parseFloat(CFUcount)/1e12)*(602200/(parseFloat(fold)/100)))*((parseFloat(degenvar))+(parseFloat(growthvar)))/parseFloat(copynumber.value); | ||
- | + | ||
if (activity.value <= 0.001 || activity.value >= 1000) { activity.value = parseFloat(activity.value).toExponential() }; | if (activity.value <= 0.001 || activity.value >= 1000) { activity.value = parseFloat(activity.value).toExponential() }; |
Revision as of 00:42, 18 October 2014