Aha! That’s it.
Thanks!
From:
rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On
Behalf Of Swindells, Thomas
Sent: Wednesday, August 18, 2010
9:26 AM
To: Rules Users List
Subject: Re: [rules-users] Adding
two numbers
Have a look at
eval().
From:
rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On
Behalf Of Hehl, Thomas
Sent: 18 August 2010 14:22
To: rules-users@lists.jboss.org
Subject: [rules-users] Adding two
numbers
I have two properties on my class that I’d like to add
together and compare results. I’m trying:
when
stub:PaymentStub(daysJuror + daysPanel > 0)
But this throws an error. Either daysJuror or daysPanel
work, but adding them together doesn’t. Isn’t there a way to do
this?
Thanks!
Thom Hehl
Java
Applications Architect
Public Safety
& Justice
Affiliated
Computer Services, Inc.
A Xerox Company
Tel
859.277.8800 x 144
Fax
859.277.2300
**************************************************************************************
This message is confidential and intended only for the addressee. If you have
received this message in error, please immediately notify the
postmaster@nds.com and delete it from your system as well as any copies. The
content of e-mails as well as traffic data may be monitored by NDS for
employment and security purposes. To protect the environment please do not
print this e-mail unless necessary.
NDS Limited. Registered Office:
**************************************************************************************