Intl.NumberFormat v3 API is a new TC39 ECMA402 stage 3 proposal extend the pre-existing Intl.NumberFormat, with the following new features: 1. Add 3 new functions to format range of number: formatRange / formatRangeToParts / selectRange 2. Grouping Enum 3. New Rounding/Precision Options 4. Rounding Priority 5. Interpret Strings as Decimals 6. Rounding Modes 7. Sign Display Negative https://github.com/tc39/proposal-intl-numberformat-v3
This API change the pre-existing Intl.NumberFormat API by adding new options to control the formatted output, adding several new method to Intl.NumberFormat and take string form of data for higher precision. It is advanced to TC39 Stage 3 in the July 2020. Engineer from Firefox team is supporting this proposal .
The implementation depend on ICU class LocalizedNumberRangeFormatter class. To avoid producing negative impact to pre-exiting usage of Intl.NumberFormat, we optimize it by using lazy eval in https://chromium-review.googlesource.com/c/v8/v8/+/3555261.
Web developers could use the API immediately upon our shipment, based on the usage of previous well supported Intl.NumberFormat object.
no risk aware off
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
|DevTrial on desktop||105|
|DevTrial on Android||105|