-
Notifications
You must be signed in to change notification settings - Fork 401
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
Problem entering decimal numbers < 1 #126
Comments
i also got strange behaviour when i want to show data with decimal number for example 100000000.0000 it becomes 1 000 000 000 000,0000 |
Dealing with the same problem. Has anyone found a solution to this? |
I'm having these same issues and its causing me some grief. I'm guessing I just need to dive deep into this plugin and try to fix it. |
You need to change the condition after this line: The or condition seems to be the problem |
With the as-you-type formatting on an input that allows decimal numbers such as
$('#price').number( true, 2 );
it behaves very oddly when entering numbers less than 1 such as 0.50, 0.25, or 0.01 etc.This weird behavior is easily reproduced using your as-you-type demo with Chrome, Firefox, or IE.
The text was updated successfully, but these errors were encountered: