toPrecision(precision)
Returns the floor of the given number. The precision specifies the total number of digits including the ones before and after the decimal points.
Example
(3.234).toPrecision(3); // returns 3.23
| << toLocaleString() | © 1996-2013 InetSoft Technology Corporation (v11.4) | JS.4 Date Object Functions >> |