[rules-users] "==" not work for big int value
Mark Proctor
mproctor at codehaus.org
Thu Nov 18 20:41:11 EST 2010
On 19/11/2010 01:34, Zeke wrote:
> Can anyone help me?
>
> Thanks!
>
>
> On 16 November 2010 09:57, Zeke <xanadu860122 at gmail.com
> <mailto:xanadu860122 at gmail.com>> wrote:
>
> Hi,
> I'm using Drools 4.0.7. I find "==" operator does not work for
> big int value (like 2147483647). The condition is like "sec.fir.i
> == 2147483647". I attach my test code. With my simple testing, it
> seems that it does not work for comparsion with int constant from
> 1000000001 to 2147483647. Is it a bug of drools? I have already
> tested long and BigInteger do not have this kind of problem.
>
I suspect Drools 4.0.x did n't have big integer and big decimal coercion.
Mark
>
>
> Thanks!
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101119/d7c80ef6/attachment.html
More information about the rules-users
mailing list