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

Unable to parse values with scientific notation #50

Open
jgrt opened this issue Jun 10, 2021 · 1 comment
Open

Unable to parse values with scientific notation #50

jgrt opened this issue Jun 10, 2021 · 1 comment

Comments

@jgrt
Copy link

jgrt commented Jun 10, 2021

First of all, thank you for creating it. it scales very well. overall nice library.

I came across this issue when currency value has E notation.
Ex:

from price_parser import Price
Price.fromstring("3.891506499E8")
> Price(amount=Decimal('3.891506499'), currency=None)
@Gallaecio
Copy link
Member

Could you share some online examples of this, for reference?

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