Calculate formula to double
Who can help me ?
I have a string which contains a formula (=2+1). The result (3) of the formula I want to have as double. How can I do this ???
Some code:
string strFormula="=2+1";
double dblResult=Convert.ToDouble(strFormula);
This code gives an error.
Niek.