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
Hi s-yadav,
first of all: Thanks for sharing this npm module with the community!
I found a weird behavior, maybe I misuse the module? Added a Codepen below. <NumberFormat value={1255.123} decimalPrecision={2} thousandSeparator={'.'} decimalSeparator={','} />
The text was updated successfully, but these errors were encountered:
achimkoellner
changed the title
If I pass a float value the displayed value incorrect
If I pass a float value the displayed value is incorrect
Mar 21, 2017
I have the same problem when using '.' as thousand separator and ',' as decimal separator. My workaround is to use a string value. But this is not convenient.
Hi s-yadav,
first of all: Thanks for sharing this npm module with the community!
I found a weird behavior, maybe I misuse the module? Added a Codepen below.
<NumberFormat value={1255.123} decimalPrecision={2} thousandSeparator={'.'} decimalSeparator={','} />
rendered ouput "1.255.123,00"
exptected output: "1255,12"
http://codepen.io/achimkoellner/pen/YZemJZ
The text was updated successfully, but these errors were encountered: