04-10-2012 01:31 AM
i am talking value in textfield after that i want to calculate the expression result
like
String str ="2*3+6/2";
04-10-2012 02:17 AM
See following algo to evaluate expression:
http://en.wikipedia.org/wiki/Shunting-yard_algorithm