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

Incorrectly rounding up at 3 decimals #14

Closed
lamarant opened this issue Sep 19, 2013 · 0 comments
Closed

Incorrectly rounding up at 3 decimals #14

lamarant opened this issue Sep 19, 2013 · 0 comments

Comments

@lamarant
Copy link

Great plugin...I'm not sure if you;re still supporting this but in using the plugin I found an issue with rounding. See my fiddle here:

http://jsfiddle.net/lamarant/DT7wJ/

The issue comes into play when you have a value like 0.0098 and you set the format to 0.000. The formatted value is incorrectly displayed as .001, instead of .010. This seems to happen on values in the thousandths and beyond.

I'll try to fork a fix but figured I'd bring it to your attention.

@asual asual closed this as completed in 9732dfc Sep 28, 2013
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

1 participant