This should work.
function updatesum() {
var sum = (document.form.sum1.value -0) / (document.form.sum2.value -0);
document.form.sum.value = sum.toFixed(3);
}
0
solved how to get round figure in javascript [duplicate]
This should work.
function updatesum() {
var sum = (document.form.sum1.value -0) / (document.form.sum2.value -0);
document.form.sum.value = sum.toFixed(3);
}
0
solved how to get round figure in javascript [duplicate]