# Currency mask for Ionic 3

**URL:** <https://forum.ionicframework.com/t/currency-mask-for-ionic-3/184090>\
**Category:** Ionic Angular\
**Created:** [February 27, 2020, 12:26pm UTC](https://forum.ionicframework.com/t/currency-mask-for-ionic-3/184090 "2020-02-27T12:26:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MatheusMinguini](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@MatheusMinguini](https://forum.ionicframework.com/u/MatheusMinguini)\
**Post date:** [February 27, 2020, 12:26pm UTC](https://forum.ionicframework.com/t/currency-mask-for-ionic-3/184090/1 "2020-02-27T12:26:41Z")

</div>

I need to have a “_ion-input_” which has a money mask.

I have tried many packages available in the market, such as:

“ngx-currency-mask”  
"“brmasker-ionic-3”

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
