Team:DTU-Denmark/Achievements/Calculator
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
Tbjohannesen (Talk | contribs) |
||
Line 50: | Line 50: | ||
if (conccheck.checked) { conc = parseFloat(concentration.value) }; | if (conccheck.checked) { conc = parseFloat(concentration.value) }; | ||
- | if (degcheck.checked) { degenvar = Math.log(2)/(parseFloat(deghalf.value) | + | if (degcheck.checked) { degenvar = Math.log(2)/(parseFloat(deghalf.value)/parseFloat(deghalfunit.value)) }; |
- | if (growthcheck.checked) { growthvar = Math.log(2)/(parseFloat(grodouble.value) | + | if (growthcheck.checked) { growthvar = Math.log(2)/(parseFloat(grodouble.value)/parseFloat(grodoubleunit.value)) }; |
if (CFUcheck.checked) { CFUcount = (parseFloat(OD600.value)*1e12) }; | if (CFUcheck.checked) { CFUcount = (parseFloat(OD600.value)*1e12) }; | ||
Revision as of 23:22, 17 October 2014