Export (0) Print
Expand All
Expand Minimize

2.1.33 [ECMA-262/5] Section 15.7.4.5, Number.prototype.toFixed (fractionDigits)

V0033:

The specification states:

An implementation is permitted to extend the behaviour of toFixed for values of fractionDigits less than 0 or greater than 20. In this case toFixed would not necessarily throw RangeError for such values.

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

If any value of the fractionDigits function is converted to an integer and it is equal to +∞ or -∞, this value is treated as if it is the value 0.

Show:
© 2014 Microsoft