BigDecimal values are not always evaluated correctly in comparisons
Issue
- There has been occasions where comparisons of BigDecimal values in rules have not evaluated correctly. For example a rule will compare 24.30 < 0.5 * 48.60 and return true, whereas in fact it should return false, as 24.30 = 0.5 * 48.60.
Environment
- Java
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
