s-yadav / react-number-format

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

Support vn currency locale #584

Open mocxi opened 3 years ago

mocxi commented 3 years ago

Hello team,

Could you please add support format for vn currency? The thousand separator is . and decimal point is , (I can use decimalSeparator=",", but it's conflicted with thousandSeparator)

Example: 1.200.300,12345

Thanks

glaucoheitor commented 2 years ago

That format is actually super common around the globe, including in BRL, which I use in my project.

You should use thousandSeparator="." and decimalSeparator="," together.