Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   How to evaluate an expression (http://www.velocityreviews.com/forums/t106491-how-to-evaluate-an-expression.html)

EDom 07-18-2005 06:36 AM

How to evaluate an expression
 
Hi,
I have expressions in a string like "100/24*5" and so on. How can I evaluate
this expression to get the result.

Regards,
Vineet



TJS 07-18-2005 09:21 AM

Re: How to evaluate an expression
 
google "evaluate mathematical expressions"

append language

here's one

http://www.c-sharpcorner.com/Code/20...nEvaluator.asp


"EDom" <technical@peoplewareindia.com> wrote in message
news:uyjIre2iFHA.3448@TK2MSFTNGP10.phx.gbl...
> Hi,
> I have expressions in a string like "100/24*5" and so on. How can I
> evaluate
> this expression to get the result.
>
> Regards,
> Vineet
>
>




Charlie@NISH 08-12-2005 07:41 PM

Re: How to evaluate an expression
 
You could parse string then convert to numeric format for evaluation.

Charlie

"TJS" <nospam@here.com> wrote in message
news:e7n4Qo3iFHA.1948@TK2MSFTNGP12.phx.gbl...
> google "evaluate mathematical expressions"
>
> append language
>
> here's one
>
> http://www.c-sharpcorner.com/Code/20...nEvaluator.asp
>
>
> "EDom" <technical@peoplewareindia.com> wrote in message
> news:uyjIre2iFHA.3448@TK2MSFTNGP10.phx.gbl...
>> Hi,
>> I have expressions in a string like "100/24*5" and so on. How can I
>> evaluate
>> this expression to get the result.
>>
>> Regards,
>> Vineet
>>
>>

>
>





All times are GMT. The time now is 05:26 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.