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
@formatjs/intl-numberformat; specifically, the polyfill @formatjs/intl-numberformat/polyfill.
Describe the bug
I'm using formatjs in react-native, and due to the poor Intl support in hermes, using the intl-numberformat polyfill. It seems like the roundingIncrement property does not do anything.
To Reproduce
Reproducible Steps/Repo
I'm sure there's a non react-native way to reproduce this, but this is the leanest RN approach that I have:
Create a new react native app, npx create-react-native-app intl-demo
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Which package?
@formatjs/intl-numberformat
; specifically, the polyfill@formatjs/intl-numberformat/polyfill
.Describe the bug
I'm using formatjs in react-native, and due to the poor Intl support in hermes, using the
intl-numberformat
polyfill. It seems like theroundingIncrement
property does not do anything.To Reproduce
Reproducible Steps/Repo
I'm sure there's a non react-native way to reproduce this, but this is the leanest RN approach that I have:
npx create-react-native-app intl-demo
App.js
:console.log
the output of this JS while running the app in an iOS simulator/Android emulator:27.07
, instead of the expected25
maximumFractionDigits
andminimumFractionDigits
properties altogether gives an error:Expected behavior
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: