Comments (3)
Sample API:
new Intl.NumberFormat(undefined, { style: "currency", currencyRounding: "cash" })
Should the option be named:
- currencyRounding
- currencyPrecision
- currencyUse
from ecma402.
I've put up PR #839 for this as an item for discussion. The PR uses currencyPrecision for the name of the option. currencyRounding seems bad (even though it's the most straightforward seeming) since it implies that only the rounding increment changes. currencyUse appears as valid as currencyPrecision, though.
from ecma402.
TG2 discussion: https://github.com/tc39/ecma402/blob/master/meetings/notes-2024-01-18.md#support-cash-rounding-835
Conclusion: Add Test262 and docs for the current spec behavior.
from ecma402.
Related Issues (20)
- Cyclic year doesn't show up in resolvedOptions HOT 1
- Ok HOT 1
- Numbering system option value not correctly passed to internal Intl.NumberFormat instances
- Feedback on ICU's new HOT 1
- Feedback on ICU's new "get IANA ID" API HOT 3
- Should ECMA-402 spec text for time zone canonicalization refer to CLDR or to IANA as authoritative? HOT 8
- Canonicalization for Calendar identifiers? HOT 2
- Consider making ResolveLocale return the normalized requested locale instead of the available locale HOT 6
- Default of ignorePunctuation need to be locale dependent HOT 3
- Displaying wrong date format for sr-Latn-me locale HOT 2
- Intl.NumberFormat with style: 'decimal' if the number has four digits, does not add the point on locale spanish HOT 1
- Should intrinsics be scoped? HOT 3
- Need support for nigerian currency. HOT 3
- Add option to use variant era names HOT 1
- Intl API for parsing locale aware strings HOT 2
- Inconsistency in definition of "calendar types" HOT 1
- Decimal integration HOT 1
- How to use ecma402 Intl.GetCanonicalLocales in Android HOT 1
- Intl.NumberFormat() - narrowSymbol issue in en-CA culture, USD currency HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecma402.