Implement Number.toLocaleString()

UNCONFIRMED
Unassigned

Status

Rhino
Core
--
enhancement
UNCONFIRMED
9 years ago
9 years ago

People

(Reporter: Pierre Delagrave, Unassigned)

Tracking

Details

Attachments

(1 attachment)

(Reporter)

Description

9 years ago
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
(Reporter)

Comment 1

9 years ago
Created attachment 426079 [details] [diff] [review]
Suggested patch for the feature

Diff from the cvs head version(?) on feb 09 2010
You need to log in before you can comment on or make changes to this bug.