I need to have a “ion-input” which has a money mask.
I have tried many packages available in the market, such as:
None of them seem to work so far. The “ngx-currency” only works for “input” tags and the “brmasker” gives me the number like 2,570,75 and the JS cannot parse it into a float without losing the decimal point.
Does anyone know a nice directive to perform such a simple thing as formatting a currency value?
Thanks in advance