-
Notifications
You must be signed in to change notification settings - Fork 50
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
API does not handle negative values #29
Comments
Just to confirm: do you have a real use case for this? |
Yes. Imagine an account balance where we have entries with positive values (deposits) and negative values (withdrawals) |
I have the same issue. The module ignores the minus sign in "-$100,000.00", which is a typical format you see in CSV files exported from Excel. |
Is there a plan to add this feature to master? I see a PR #33 linked to the issue but there is no activity since 2 years ago. |
I just came across the same issue. Price.fromstring("-2,525,077.54") # returns 2525077.54 My use case is when dealing with credit notes inside an invoicing system. |
This is an example from scraping order details from a webshop, where negative values indicated payback to the customer:
It would also be ecpected that this order should work
|
The API does not handle negative values:
The text was updated successfully, but these errors were encountered: