Skip to content

Fix IVATItem.hasPercentage for different scales#3

Merged
phax merged 1 commit intophax:masterfrom
domids:master
Mar 27, 2026
Merged

Fix IVATItem.hasPercentage for different scales#3
phax merged 1 commit intophax:masterfrom
domids:master

Conversation

@domids
Copy link
Copy Markdown
Contributor

@domids domids commented Mar 27, 2026

The method IVatItem.hasPercentage(BigDecimal) currently returns false if the passed BigDecimal has a different scale.

IMHO hasPercentage should return if just the values are equals (and ignore the scales).

@phax phax merged commit 9120ba7 into phax:master Mar 27, 2026
1 check passed
@phax
Copy link
Copy Markdown
Owner

phax commented Mar 27, 2026

Good catch - thanks

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.

2 participants