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

Fix rounding bug #79

Merged
merged 1 commit into from
May 9, 2015
Merged

Fix rounding bug #79

merged 1 commit into from
May 9, 2015

Conversation

indrimuska
Copy link
Contributor

This solves the “1.005” problem (#78).

More infos about the solution.

This solves the “1.005” problem.

More infos about the
[solution](http://stackoverflow.com/questions/11832914/round-to-at-most-
2-decimal-places-in-javascript#answer-18358056).
samatcd added a commit that referenced this pull request May 9, 2015
@samatcd samatcd merged commit afcf049 into customd:master May 9, 2015
indrimuska added a commit to indrimuska/jquery-number that referenced this pull request May 12, 2015
When rounding a number in a scientific representation an additional
“e+” string is concatenated to perform round operation (customd#79).

It causes an error when `Math.round` function parse the result string.
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

Successfully merging this pull request may close these issues.

2 participants