Sunday, June 1, 2008

Javascript: rounding to 2 decimal places


document.getElementById("hidTotalAmount").value = round_decimals((document.getElementById('txtBillingAmount').value), 2);

No comments: