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

Shouldn't SepaFileBlock->intToCurrency() better be locale unaware? #16

Open
bastianonken opened this issue Oct 11, 2013 · 1 comment
Open

Comments

@bastianonken
Copy link

I currently get errors in validating the XML file, because sprintf generates floating point numbers for each amount value with comma as decimal point (in my environment).

I think this:
sprintf("%01.2f", ($amount / 100));

Sould be replaced with:
sprintf("%01.2F", ($amount / 100));

...in SepaFileBlock.php

@monofone
Copy link
Contributor

I think with the newer version this can be closed as the BaseDomBuilder already uses the mentioned form. Thanks for helping.

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