AbcAeffchen / Sephpa

PHP class to create SEPA xml files for credit transfer and direct debit
GNU Lesser General Public License v3.0
71 stars 31 forks source link

Fix decimal mark by using F as type specifier in sprintf() #12

Closed markcoenradie closed 7 years ago

markcoenradie commented 7 years ago

Use non-locale aware type specifier (i.e. always use period (.) as decimal mark) Before, if your locale was set to certain locales (for instance nl_NL), the XML output would use a decimal comma (1234,56) which is not valid.

markcoenradie commented 7 years ago

Forgot to replace two usages of sprintf, creating a new PR