Open thiengo105 opened 1 year ago
Also numericFormatter
doesnt apply mapToRadix
property
Same problem with version 5.4.0. The parameter valueIsNumericString
doesn't change anything.
Here is the reason https://github.com/s-yadav/react-number-format/blob/master/src/numeric_format.tsx#L478 NumericFormat Component round value before formatting it with numericFormatter function
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