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

SEPA Adapter - XSL round checksum #84

Closed
rsoika opened this issue Jan 30, 2020 · 0 comments
Closed

SEPA Adapter - XSL round checksum #84

rsoika opened this issue Jan 30, 2020 · 0 comments
Labels
Milestone

Comments

@rsoika
Copy link
Member

rsoika commented Jan 30, 2020

The XSL Template need to round the sum for the checksum feature. Otherwith wrong checksum can be computed by the xsl processor

Example

sum of 1383.11  +  157.08   =>  1540.1899999999998

Solution:

<xsl:variable name="total" select="round-half-to-even($totalsum, 2)" />
@rsoika rsoika added the bug label Jan 30, 2020
@rsoika rsoika added this to the 2.2.0 milestone Jan 30, 2020
rsoika added a commit that referenced this issue Jan 30, 2020
@rsoika rsoika closed this as completed Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant