hi every one, need your help guys.
I want use MaskCurrency without using round up function.
Currently:
ex: 1.3598 => 1.36
I want to display: 1.3598 => 1.35
I'm stucking here. Any one can help me. Thank you so much.
Duong Nguyen wrote:
Hi Duong,
Please go through below link
https://github.com/RobinHerbots/Inputmask
Hope this will help :)
Thanks,
AV
Amit Verma wrote:
yah, I got this. But I cann't find any solution on this.
get dependency from TEXT ->(Server Action) Regex_Search
assign result as regex_result
i hope this help you.
Gokula Kannan wrote:
this solution is really great. But I want use CustomMaskCurrency because some conveniences in this forge.
I want to know how you used with a little bit more information..
attachment of Screenshot will be more helpful,Thanks
The component is use to mask values when the user is filling inputs. If you use it you can prevent users from adding more than 2 decimal when writing on inputs. If you already have decimals on your application with more than 2 decimal and you don't want to round it you will need to treat those values on server. Gokula showed you one way of treating those values.
Regards,
Marcelo