JSRangeErrorException setting maximumFractionDigits to 0 with Intl.NumberFormat currency style #1236
Closed
1 task done
Labels
bug
Something isn't working
Bug Description
An exception occurs when attempting to create a currency formatter with no fraction digits.
This was identified in #990 but closed due to the report using a wrapper.
gradle clean
and confirmed this bug does not occur with JSCHermes version: 0.72.6
React Native version (if any): 0.72.6
OS version (if any): Android API 34
Platform (most likely one of arm64-v8a, armeabi-v7a, x86, x86_64): arm64-v8a (Emulator and Google Pixel 8)
No exception on iOS. Functions as expected.
Steps To Reproduce
code example:
The Expected Behavior
No exception, and a formatter that outputs a string without fraction digits.
The text was updated successfully, but these errors were encountered: