hello,
I'm a newbie to Drools. I'm trying to write a rule that performs some math,
without resorting to a function or eval. I searched the forum but found lots
of posts on nested function calls,etc but not what I was searching for.
For simplicity, lets assume I have the following classes
public class ONE{
double A
double B
double C
}
public class TWO{
double D
double E
}
where A, B, C, D, E are themselves calculated values (apr, price at some
date, etc)
1. What does the LHS of a rule that compares A > D look like?
2. What does the LHS of a rule that compares A+B > C look like?
3. What does the LHS of a rule that compares A+D > C look like?
I apologize in advance if this was covered already.
Thanks.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/proper-syntax-for-mul...
Sent from the Drools - User mailing list archive at
Nabble.com.