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

Fix incorrect parsing of MonetaryAmount built with single string when currency starts with a digit #341

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

sjanel
Copy link
Owner

@sjanel sjanel commented Oct 31, 2022

MonetaryAmount("15003.740 1INCH") was incorrectly parsed as 15003.0074 INCH
Small parsing change coming with this PR: spaces between the - or + and the amount is now forbidden. Giving one will lead in a parsing exception.

@sjanel sjanel added the bug Something isn't working label Oct 31, 2022
@sjanel sjanel merged commit be304ff into main Oct 31, 2022
@sjanel sjanel deleted the bugfix/parsing-monetary-amount-cur-digit branch October 31, 2022 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant