Many thanks to all who helped me on the functions before- my issue now is i would like the result to round up to only two places after the decimal. I seen some answers but do not understand how to apply them. Thanks to help out a newb!
Example of my results 5.958480999999999
Example of the working functions
function wireOd(valNum) {
document.getElementById("myResult").innerHTML = valNum * valNum * .7854;
}
function cal() {
var numZero5 = document.getElementById('num05').value;
var numZero6 = document.getElementById('num06').value;
var numZero7 = document.getElementById('num07').value;
var total3 = parseFloat(numZero5) * parseFloat(numZero6) * parseFloat(numZero7) * .7854 * 1.5;
var p = document.getElementById('total3');
p.innerHTML = total3;
}
Stem Weight Calculation
Pounds Per Foot: