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

utils.parseUnit() can't parse strings in scientific notation #277

Closed
morfj opened this issue Sep 12, 2018 · 2 comments
Closed

utils.parseUnit() can't parse strings in scientific notation #277

morfj opened this issue Sep 12, 2018 · 2 comments
Labels
discussion Questions, feedback and general information.

Comments

@morfj
Copy link

morfj commented Sep 12, 2018

Passing in '1e-7' to parseUnit() does not work while '0.0000001' does. Scientific notation is however the standard format for serialized numbers in Javascript when the number is smaller than 1e-6.

@ricmoo
Copy link
Member

ricmoo commented Sep 12, 2018

Please see
#228

;)

@ricmoo ricmoo added the discussion Questions, feedback and general information. label Sep 12, 2018
@ricmoo
Copy link
Member

ricmoo commented Sep 20, 2018

Closing this now, but please feel free to re-open #228 if you would like to discuss this more.

Thanks! :)

@ricmoo ricmoo closed this as completed Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Questions, feedback and general information.
Projects
None yet
Development

No branches or pull requests

2 participants