-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
has-consensusHas consensus and ready to implementHas consensus and ready to implement
Description
Given https://unicode-org.atlassian.net/browse/CLDR-11431, the following is how we could add the approximately pattern to Intl.NumberFormat:
new Intl.NumberFormat({
signDisplay: "approximately"
});
Expected outputs:
Input | en-US result with signDisplay: "approximately" |
---|---|
5 | ~5 |
0 | ~0 |
-0 | -0 |
-5 | -5 |
Alternatively, we could throw RangeError on the negative numbers, since the behavior with them is not well-defined in CLDR.
Related: #6
Metadata
Metadata
Assignees
Labels
has-consensusHas consensus and ready to implementHas consensus and ready to implement