[jboss-jira] [JBoss JIRA] (JBRULES-3715) when using BigDecimal Comparing to 0 only works for a certain number of time

Nicolas Heron (JIRA) jira-events at lists.jboss.org
Mon Jan 14 08:35:22 EST 2013


Nicolas Heron created JBRULES-3715:
--------------------------------------

             Summary: when using BigDecimal Comparing to 0 only works for a certain number of time
                 Key: JBRULES-3715
                 URL: https://issues.jboss.org/browse/JBRULES-3715
             Project: JBRULES
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: All
    Affects Versions: 5.4.0.Final
         Environment: Jdk1.6; Drools 5.5
            Reporter: Nicolas Heron
            Assignee: Mark Proctor


in a rule like this : 
rule "Hello World"
  dialect "mvel"
  no-loop
    when
      $c :  Contract( aValue == 0.0B )
    then
       $c.setDone("OK");
       update($c);       
end
when called a certain number of times, the comparaison does not work

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list