I am using MVEL to execute an expression which is a mathematical formula. The expression is in this format
10 * availableSI
I have a DataObject which has availableSI as a parameter which has its getter and setter.
When I say MVEL.eval(expression,DataObject), it executes the expression by finding the value of availableSI from the dataobject and returns the final result
However, i need the expression which would have the runtime value of availableSI (if avaiableSI is 1000), 10 * 1000
Need help.