Saturday, November 13, 2010

JavaScript Format Decimal Precision

Here's a resource where i came to change decimal precision on of numbers using client script. It explained on how to use the toFixed() and toPrecision(). However, there are bugs on this. So it's much better to set precision of numbers using server side script.

http://www.mredkj.com/javascript/nfbasic2.html

0 comments:

Post a Comment