Hello I have a rule that looks something like this
when $mydate : TaskRowDate(0 < currentLateCount < 100) then doSomething(); My problem is that currentLateCount is an Integer type because i want to be able to store null. 0 means something different in my app. The problem is when a fact that is inserted with the currentLateCount = null, the above rule matches and is fired. Is this suppose to be the case and what value does currentLateCount take that makes it match? Thanks -- View this message in context: http://drools.46999.n3.nabble.com/how-is-Integer-converted-when-comparing-with-primitive-tp4019975.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users