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

Fixes bug where decimal amounts e.g. ".79" would be treated as "79"... #17

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

itsluke
Copy link

@itsluke itsluke commented Mar 1, 2016

… and converted to 7900 pennies

@@ -45,7 +45,7 @@ NEWFILEUID:NONE
<STMTTRN>
<TRNTYPE>PAYMENT</TRNTYPE>
<DTPOSTED>20070606120000.000</DTPOSTED>
<TRNAMT>-11.11</TRNAMT>
<TRNAMT>-.11</TRNAMT>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's probably cleaner to add another line to the existing test_for_pennies test rather than change fixture data.

@itsluke
Copy link
Author

itsluke commented Mar 7, 2016

cheers @aasmith hadn't seen that.

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

Successfully merging this pull request may close these issues.

None yet

2 participants