Thanks for all your replies. I&#39;m sorry for bring up this issue again. I tried the Drools 5.3.0.Final. For float and double type, I think current behavior is what I need. But for BigDecimal type, when my condition is &quot;bd == 99.9&quot; (&quot;bd&quot; equals new BigDecimal(&quot;99.9&quot;)), the condition is false. But if I add quotes to the literal as bd == &quot;99.9&quot;, the condition will be true. Is this behavior is designed to be so? It seems 99.9 will be considered as double value, while &quot;99.9&quot; will be considered as a BigDecimal value.<br>
<br>Thanks!<br>