Team:DTU-Denmark/Achievements/Calculator
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
Tbjohannesen (Talk | contribs) |
||
Line 39: | Line 39: | ||
activity.value = (parseFloat(concentration.value)/(parseFloat(CFU.value)*10000000000000)*(602200/(parseFloat(foldfraction.value)/100)))*((parseFloat(degen.value)/parseFloat(degenunit.value))+(parseFloat(growth.value)/parseFloat(growthunit.value)))/parseFloat(copynumber.value); | activity.value = (parseFloat(concentration.value)/(parseFloat(CFU.value)*10000000000000)*(602200/(parseFloat(foldfraction.value)/100)))*((parseFloat(degen.value)/parseFloat(degenunit.value))+(parseFloat(growth.value)/parseFloat(growthunit.value)))/parseFloat(copynumber.value); | ||
+ | num = parseFloat(activity.value); | ||
+ | num = Math.round(parseFloat(num) * 10000000 ) / 10000000 ; | ||
+ | |||
+ | activity.value = parseFloat(num); | ||
Revision as of 17:54, 17 October 2014