[rules-users] performing math function in drools

Leandro Romero leandro.s.romero at gmail.com
Mon Oct 4 00:52:27 EDT 2010


If you want to make a function call in LHS you have to use Eval, it allows
you to execute any Java code. In this especific case, you can call
Math.pow() inside of it.

Before using it, I strongly recommend you to read the documentation about
it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101004/a7fe09f8/attachment.html 


More information about the rules-users mailing list