[thelist] Javascript - round to 2 decimal points - resolved

Bob Meetin bobm at dottedi.biz
Sat May 23 10:07:14 CDT 2009

Anthony Baratta wrote:
> 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.
Mission Accomplished!  ParseInt must return the integer only - this will 
be useful for other purposes.  Thanks to Tim and Anthony.

More information about the thelist mailing list