I don't know if this will help:

Function Evaluator In C#
http://www.csharphelp.com/archives2/archive289.html

Duncan

----- Original Message -----
From: "Stephens" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 15, 2002 1:35 PM
Subject: [DOTNET] Evaluate math expression strings?


> > Does the framework have (or is someone willing to share :) ) a utility
> > class to do this? Or will I need to build my own interpreter? Something
> > like...
> >
> > int result = MyMath.Evaluate( "(10 / 2) * 3" );
>
> There's some VB 6 code that evaluates simple expressions at:
>
>     http://www.vb-helper.com/HowTo/expr.zip
>
> You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to