-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Difference between mask directive and pipe when using separator.2 #636
Comments
@michaelhunziker Hi! |
There are several open questions related to the case. Would it be so hard to make the library add .00 when the value is integer (3000)? |
any news about this issue?
it's not working |
@michaelhunziker @lramondev Thanks for your using Ngx-Mask. Please update to latest version. |
@alvarodoune Thanks for your using Ngx-Mask. Please update to latest version. |
Hi!
When i use the mask "separator.2" on an input i get another result compared to using it with a pipe.
Example: The variable "currency" has the value 3000 (number). The masked input shows "3'000" (which is missing the two decimal places) initially and the pipe shows "3'000.00" (which is correct).
Stackblitz: https://stackblitz.com/edit/ngx-mask
Is there a reason for this?
The text was updated successfully, but these errors were encountered: