Export (0) Print
Expand All
Expand Minimize

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


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.

© 2015 Microsoft