<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 19/11/2010 01:34, Zeke wrote:
<blockquote
cite="mid:AANLkTi=AkOWdfsu-SbEjHO02AoRC=GZhs09Bs2dKVtfS@mail.gmail.com"
type="cite">Can anyone help me?<br>
<br>
Thanks!<br>
<br>
<br>
<div class="gmail_quote">On 16 November 2010 09:57, Zeke <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:xanadu860122@gmail.com">xanadu860122@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Hi,<br>
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.<br>
<br>
</blockquote>
</div>
</blockquote>
I suspect Drools 4.0.x did n't have big integer and big decimal
coercion.<br>
<br>
Mark<br>
<blockquote
cite="mid:AANLkTi=AkOWdfsu-SbEjHO02AoRC=GZhs09Bs2dKVtfS@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;"><br>
Thanks!<br>
</blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>