Closed Bug 545231 Opened 14 years ago Closed 5 years ago

Implement Number.toLocaleString()

Categories

(Rhino Graveyard :: Core, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: pierre.delagrave, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7
Build Identifier: Rhino 1.7R2

As specified in the ECMA-262 5th edition:
15.7.4.3
Number.prototype.toLocaleString()
Produces a String value that represents this Number value formatted according to the conventions of the host
environment’s current locale. This function is implementation-dependent, and it is permissible, but not
encouraged, for it to return the same thing as toString.
NOTE
The first parameter to this function is likely to be used in a future version of this standard; it is recommended
that implementations do not use this parameter position for anything else.


This function is currently the same as Number.toString()

Reproducible: Always
Diff from the cvs head version(?) on feb 09 2010

Closing. Bug management is now done here:
https://github.com/mozilla/rhino

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: