Hello pf_miles,
As far as I discovered (no documentation found), Drools' casting mechanism
seems to be different from Java's casting: *the second operator ist cast to
the typeof the first one*, independently of which one is longer or shorter.
When I turned the test around, writing
"when m:Msg(dbl <= lo)"
instead of
"when m:Msg(lo >= dbl)"
everything worked out fine for me.
Heinrich_Puschmann
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Long-and-double-value...
Sent from the Drools - User mailing list archive at
Nabble.com.