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

rounding extremely big or small numbers #5

Closed
leoaretakis opened this issue Apr 22, 2016 · 2 comments
Closed

rounding extremely big or small numbers #5

leoaretakis opened this issue Apr 22, 2016 · 2 comments

Comments

@leoaretakis
Copy link

Hi Guys,

there is a problem with the code when the number is very big or very small, and their toString value returns a number in scientific format (string containing "e").
I can try to fix it and create a pull request, if you don't mind.

Cheers
Leo

@sindresorhus
Copy link
Owner

Sure, that would be lovely 😀

@leoaretakis
Copy link
Author

Cannot be done, you guys made it allow negative precision.
In my case I had to use bignumber.js
Thanks anyway :)

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

2 participants