Skip to content
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

can you keep the decimal point two #19

Closed
wqdjl opened this issue Jun 2, 2017 · 7 comments
Closed

can you keep the decimal point two #19

wqdjl opened this issue Jun 2, 2017 · 7 comments

Comments

@wqdjl
Copy link

wqdjl commented Jun 2, 2017

eg. *.00

@v1d3rm3
Copy link
Contributor

v1d3rm3 commented Jun 2, 2017

Nice!

@NepipenkoIgor
Copy link
Collaborator

@wqdjl Could you provide more complex example or give a link?

@MalithHatananchchige
Copy link

You should be able to see it here
https://github.com/RobinHerbots/Inputmask

@NepipenkoIgor
Copy link
Collaborator

@wqdjl @victorschinaider We add support for * character . You can use latest version with mask 0*.00

@KDVMan
Copy link

KDVMan commented Jul 21, 2019

@wqdjl @victorschinaider We add support for * character . You can use latest version with mask 0*.00

doesn't work

my mask: 0*.00000
ngx-mask remove dot after submit
i write: 123.12345 and get 12312345

why?

@robpoyntz
Copy link

robpoyntz commented Aug 27, 2019

I have a similar problem to @kordenv

mask="0*.00"
Input value: 178.09
Output value: 17809

(Although it does work correctly if I use mask="comma_separator.2")

Ahh... problem solved: need to include [dropSpecialCharacters]="false"

@SHUBHAMDAVE001
Copy link

How can we use 0.00 by default in angular 15 application using pipe in HTML side.

Let's say my value is 10000.
So, the masked value should ve 10,000.00
I am not able to implement this.

Thanks in Advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants