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

Is it possibele to have negative numbers formatted ? #436

Closed
halliballi123 opened this issue Jul 26, 2016 · 6 comments
Closed

Is it possibele to have negative numbers formatted ? #436

halliballi123 opened this issue Jul 26, 2016 · 6 comments

Comments

@halliballi123
Copy link

Hallo sorry for my (maybe) stubid question.
I use masks like '000.000.000.000.000' or '000.000.000.000.000,00', these work justs fine but I don't know how to add the possibility to have an optional minus infront of the numbers. Is that possible?
Thank you

@joshharington
Copy link

Have you managed to sort this out ?

@RafaelRViana
Copy link

+1
How to deal with negative money using money input?

@halliballi123
Copy link
Author

I have negative money input for example, when I need balance sums of companies. These are not always positive

@igorescobar
Copy link
Owner

igorescobar commented Oct 12, 2016

jQuery Mask has only a few aspects of currency. If you need things like fixed default value or negative values or + sign our - in front of your numbers I recommend you to use a plugin that focus on solving those issues.

I do not intend to implement all possibilities on currency problems on that plugin as the main intent of jQuery Mask is to remain generic.

Use this one for example: https://github.com/plentz/jquery-maskmoney

@igorescobar
Copy link
Owner

Related #295

@igorescobar
Copy link
Owner

If you get this far and still want to try something else you may like this thread:
#619

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

No branches or pull requests

4 participants