calculator template
calculator template kdorfman Thu, 12/27/2012 - 15:2214 ingredients
14 ingredients kdorfman Mon, 07/28/2014 - 16:55Dilution
Dilution kdorfman Mon, 01/18/2016 - 20:19addition calculator
addition calculator kdorfman Fri, 04/21/2023 - 13:58The + sign juxtaposes the two values, unless they are actual numerals.
So if a.value = 2 and b.value = 3 then a.value + b.value = 23
See calculator below:
But 2+3 = 5 if you write the numerals instead of the variable names.
subtraction works:
a.value - b.value = -1
You can cheat, as in this second calculator:
result.value = (- firstnumber.value - secondnumber.value) * -1
Not sure how to do plain old addition
cell size, sig figs
cell size, sig figs kdorfman Tue, 12/13/2016 - 21:42size="5";
ingred.value = Math.round(calculation goes here)
ingred.value = Number(Math.round((finalvol.value * 0.0052)+'e2')+'e-2');
where 2 is the number of significant digits
stoc calcs change MW
stoc calcs change MW kdorfman Wed, 08/06/2014 - 19:14Calculations with changeable MW
stock calc vary conc
stock calc vary conc kdorfman Mon, 01/18/2016 - 19:29Calculations with changing w/vol
stock calcs
stock calcs kdorfman Wed, 08/06/2014 - 19:07Calculations with non-changing MW