You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
This thread is about the syntax for compact notation and scientific notation.
Compact notation uses localized suffixes like "K" and "M" to represent the magnitude. Scientific notation uses an exponential separator, like "E", followed by a power of ten.
Older versions of ICU exposed each of these as separate "styles" of DecimalFormat. However, newer ICU lets you combine scientific or compact notation with all other number formatting features.
This thread is about the syntax for compact notation and scientific notation.
Compact notation uses localized suffixes like "K" and "M" to represent the magnitude. Scientific notation uses an exponential separator, like "E", followed by a power of ten.
Older versions of ICU exposed each of these as separate "styles" of DecimalFormat. However, newer ICU lets you combine scientific or compact notation with all other number formatting features.
I suggest the following basic syntax:
In addition, we might want to expose additional options for scientific notation. ICU supports three options:
If we want to bring these additional options into Ecma 402, we could do something like,
References:
Comments?
The text was updated successfully, but these errors were encountered: