I want to calculate a arithmetic expression from a string using VB, any ideas ?
As an example : "x+2" from a textbox, I want to evaluate the expression
Dim equation As String = "2+6/2" Dim result = New DataTable().Compute(equation, Nothing)
2.1m questions
2.1m answers
60 comments
57.0k users