toPrecision Method (JScript 5.6)

Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.

numObj.toPrecision ([precision])

Expand imageArguments

Expand imageRemarks

Expand imageRequirements

Expand imageSee Also