Hi I have create mathematical expression as string format
String strFormula = "((2*(" + a + "+(2*" + st + "))+2*(" + b + "+(2*" + st + ")))*" + l + "/1000000)*" + amount;
strFormula = CommonFunctions.FormatFormulaWithGermanStandard(strFormula);
I want to evaluate this mathematical expression .
Please suggest me usable link or sample code.
There are three ways to solve an expression which are by prefix, postfix or infix you can implement or can check java code for one of these methods to solve your expression like here is link below of code for solving an expression using postfix method
http://resume.technoplaza.net/java/postfix-calc.php
by googling you can find more useful links