Joseph Alex created DROOLS-674:
----------------------------------
Summary: Rules with bigdecimal comparison not matched for certain values
Key: DROOLS-674
URL:
https://issues.jboss.org/browse/DROOLS-674
Project: Drools
Issue Type: Bug
Affects Versions: 5.5.0.Final
Reporter: Joseph Alex
Assignee: Mark Proctor
Priority: Minor
For rules which compare BigDecimal inputs against a range considering 2 decimal place
precision, match does not happen when the input equals certain upper bounds. Testcase
attached.
The rules match when the upper bound is specified with a < condition instead of <=
(i.e <70.00 instead of <=69.99) , which seem to indicate value seen by Drools is
somewhere between the two.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)