Skip to content

Fix IVATItem.hasPercentage for different scales#3

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

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

Conversation

@domids

@domids domids commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

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

phax commented Mar 27, 2026

Copy link
Copy Markdown
Owner

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