size="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
- Printer-friendly version
- Log in to post comments
size="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