Skip to content

Unable to parse values with scientific notation #50

Open
@jgrt

Description

@jgrt

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions