s-yadav / react-number-format

React component to format numbers in an input or as a text.
MIT License
3.9k stars 410 forks source link

valueIsNumeric string with string value #866

Open checkforants opened 1 week ago

checkforants commented 1 week ago

I use NumberFormatBase with props
{ "value": "12.0012312300001230655", "valueIsNumericString": false} somehow it changes value to 120 012 312 300 001 230 655,0000000000000000000 but documentation says that i should pass valueIsNumericString = true only if thousandSeparator is '.' I do not t use thousandSeparator, please explain me how it works and why