-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Intl.NumberFormat formatRange #393
Comments
Can you please make the request a bit more public? Motivation, use cases, reasons why it should be implemented by all browser engines and become part of the standard etc? |
Example use cases:
Why this belongs in the spec:
|
Thank you!
Is that part of CLDR? How can we implement it in a non-ICU-specific fashion? |
Good question. The CLDR spec does not specify the behavior of when to repeat the currency symbol or "collapse" it down. ICU currently performs a heuristic. I have an open bug to formalize ICU's heuristics into CLDR. |
I plan to address this as part of my new proposal Intl.NumberFormat V3. https://github.com/sffc/proposal-intl-numberformat-v3 |
Question about which options to add for range formatting: |
Closing as fixed when NumberFormat v3 landed 4257160 |
In the same vein as the Intl.DateTimeFormat.prototype.formatRange proposal, we should add a formatRange method to Intl.NumberFormat. We have clients who are requesting such a feature (google-internal link).
The text was updated successfully, but these errors were encountered: