Hello,
Not sure of string to java code is the correct way to state it, but what I want to do is take a string that stores a user inputed formula (ex "1 * (2 / 3)") and put that into a variable so java does the calculation. Basically I want to go from:
String stringFormula = "1 * (2 / 3)";
to:
double formulaOutput = 1 * (2 / 3);
Any help is much appreciated. Thanks.
vyang