N Number.toExponential() (Method) Cross-references: ECMA 262 edition (Web server type)
N Number.toExponential() (Method) Cross-references: ECMA 262 edition 2 section 15.2.3.1 ECMA 262 edition 2 section 15.7.4 ECMA 262 edition 3 section 15.7.3.1 Number.toExponential() (Method) Converts the number to an exponential format representation. Availability: Property/method value type: JavaScript syntax: Argument list: This method is useful for formatting number values. This is especially helpful when presenting tables of scientific data, which may require values of a wide range of magnitudes to be presented in a similar way. The argument value indicates the precision or decimal places of accuracy to the right of the decimal point character. If the argument is undefined, then as many digits as are necessary to completely distinguish the value are presented (up to the mathematical accuracy of the implementation). ECMAScript edition 3 JavaScript 1.5 JScript 5.5 Internet Explorer 5.5 Netscape 6.0 String primitive -myNumber.toExponential(aNumber) aNumber The number of digits after the decimal point See also: Number.toFixed(), Number.toPrecision(), Number.toString() Cross-references: ECMA 262 edition 3 section 15.7.4.6 Number.toFixed() (Method) Converts the number to a fixed format representation. ECMAScript edition 3 JavaScript 1.5 JScript 5.5 Internet Explorer 5.5 Netscape 6.0 String primitive -myNumber.toFixed(aNumber) aNumber The number of digits after the decimal point Availability: Property/method value type: JavaScript syntax: Argument list: 1561