You need to sign in to do that
Don't have an account?
Manojjena
String expression is giving me the calculated value.
Hi All,
My code is returning a expression in string format. I need the calculated value in integer /double format.
String str = '25*5';
Integer result=Integer.valueOf(str);
Throwing error as Ivalid type exception.
Please help me on this .
My code is returning a expression in string format. I need the calculated value in integer /double format.
String str = '25*5';
Integer result=Integer.valueOf(str);
Throwing error as Ivalid type exception.
Please help me on this .
Jason Hugger
First I would say I would try to not send it as a string. If this is not possible is it always multiplication or will the equation change?