rule
"Calculate Business profit,1"I get an error on creation of the package that * is undefined for Double and double. I understand this is because Drools does an auto box on primitive type variables. But is there a work around to do simpler comparisons like this, especially on the right hand side of the condition. some thing like [ variable * constantValue ].
Also, i am forced to do a declaration for businessProfit1, and use in the comparison below. I am not able to compare two fields of the same object directly.
some thing like businessProfit2 > businessProfit1 does not work, why is this so? Any one has faced these problems earlier?
Thanks
Natraj