Export (0) Print
Expand All
Expand Minimize

2.1.35 [ECMA-262/5] Section 15.7.4.7, Number.prototype.toPrecision (precision)

V0035:

The specification states:

An implementation is permitted to extend the behaviour of toPrecision for values of precision less than 1 or greater than 21. In this case toPrecision would not necessarily throw RangeError for such values.

IE9 Mode, IE10 Mode, and IE11 Mode (All Versions)

The behavior of the toPrecision function is not extended to values of the precision property that are less than 1 or greater than 21.

Show:
© 2015 Microsoft