ngx-mask icon indicating copy to clipboard operation
ngx-mask copied to clipboard

Thousand number separator

Open dMartinezAyuso opened this issue 8 years ago • 1 comments

Hi,

Is it possible to add dinamically a separtor for number with thousands. Example: (1) InputValue-> 12342.12 MaskValue-> 12,342.12 (2) InputValue-> 132123454 MaskValue->132,123,454 (3)InputValue-> 12 MaskValue->12

This is a great tool. Thanks for sharing!

dMartinezAyuso avatar Aug 07 '18 08:08 dMartinezAyuso

You can specify mask manually. For example: mask="00,000.00" mask="000,000.00".

pryimakalex avatar Aug 27 '18 13:08 pryimakalex