www.fromthevalley.com.au

Round to 2 Dec Place

document.booking.total.value= (Math.round(ttl*Math.pow(10,2))/Math.pow(10,2)).toFixed(2);

 OR

document.getElementById('num1').innerHTML = parseFloat(Math.round(num1 * 100) / 100).toFixed(2);
 

HOMEAJAXAPACHEBizphoneCSSDNSGeneralGraphicsHTMLHardwareJavascriptLinuxMACMS SQLMailMicrosoftOFFICE 365PerlPostgresSEOSocial MediaVMwareWindows 10