When replace the `.` with `decimalSeparator`, should replace the last `.`
After the value is formatted, there maybe multiple . in the string, the last . should be replaced by decimalSeparator instead of the first one.
https://github.com/react-component/input-number/blob/master/src/index.js#L453
Not sure if this is enough as for the case of grouping with . -> the custom formatter gets 1000000.00 Makes 1.000.000,00 Now the standard formatter does the replacement of the last . to , -> which would be wrong.
So the custom formatter would need to return 1.000.000.00... Or in the case, incoming 1000 -> outgoing would need to be 1.000.00 (otherwise if just 1.000, it would end of as 1,000)
Damn...that is not fun (but better than what we have right now, where the use case above is simply impossible)
I am considering if the standard formatter should not be disabled, when a custom one is present