Archive for the ‘format strings’ tag
JavaScript Number Formatting Library v1.3 released
Download Number Formatting Library
I’ve updated my JavaScript Number Formatting Library to version 1.3. This release adds the ability to customize how not-a-number (NaN), positive infinity and negative infinity are formatted. All you need to do is set the appropriate constant in Number.prototype:
Number.prototype.NaNNumber.prototype.posInfinityNumber.prototype.negInfinity
For more documentation, see the original article on JavaScript number formatting.


