-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Difference between NumericFormat component and numericFormatter function #806
Comments
Also |
Same problem with version 5.4.0. The parameter |
Here is the reason https://github.com/s-yadav/react-number-format/blob/master/src/numeric_format.tsx#L478 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the issue and the actual behavior
numericFormatter
function should return the same value asNumberFormat
component with the same props.Describe the expected behavior
numericFormatter
should return 3.91 instead of 3.90Provide a CodeSandbox link illustrating the issue
https://codesandbox.io/p/sandbox/react-number-format-gnsqpq
Provide steps to reproduce this issue
use the following props to pass to
numericFormatter
function andNumerFormat
component:Please check the browsers where the issue is seen
The text was updated successfully, but these errors were encountered: