Calculate formula to double

Feb 11 2004 9:53 AM
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.

Answers (1)