plentz / jquery-maskmoney

jQuery plugin to mask data entry in the input text in the form of money (currency).
https://plentz.github.io/jquery-maskmoney/
MIT License
963 stars 507 forks source link

Adjust to unmask with precision = 0 #259

Open h3nr1ke opened 5 years ago

h3nr1ke commented 5 years ago

added a .DS_Store inside .gitignore added treatment for precision = 0 during the unmask process added example with precision 0

RensTillmann commented 4 years ago

Thank you! I never even knew about this bug until a customer used precision 0 on his currency field. Totally fixed it for me.

nice-nickname commented 6 months ago

After all these years... it's still very helpful. Thanks!