[thelist] Javascript - round to 2 decimal points

Anthony Baratta anthony at baratta.com
Fri May 22 23:06:32 CDT 2009


parseFloat(myform.cuyd.value).toFixed(2)

Bob Meetin wrote:
> 
> What I don't know how to do is to use "tofixed(2)" in the script to set 
> the number of decimal points to 2 in the Cubic Yards output.




More information about the thelist mailing list