I have a string with values stored as:
string formula = "(10.5+10.5)/(2*5)";
double a=convert.ToDouble((10.5+10.5)/(2*5))
is working fine but i need to solve it like double a=convert.ToDouble(formula)
. Is it possible? I'm geeting error input string is not in correct format.