Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to evaluate an expression

Reply
Thread Tools

How to evaluate an expression

 
 
EDom
Guest
Posts: n/a
 
      07-18-2005
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


 
Reply With Quote
 
 
 
 
TJS
Guest
Posts: n/a
 
      07-18-2005
google "evaluate mathematical expressions"

append language

here's one

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


"EDom" <> wrote in message
news:...
> 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
>
>



 
Reply With Quote
 
 
 
 
Charlie@NISH
Guest
Posts: n/a
 
      08-12-2005
You could parse string then convert to numeric format for evaluation.

Charlie

"TJS" <> wrote in message
news:...
> google "evaluate mathematical expressions"
>
> append language
>
> here's one
>
> http://www.c-sharpcorner.com/Code/20...nEvaluator.asp
>
>
> "EDom" <> wrote in message
> news:...
>> 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
>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I evaluate a logic expression entered at run time? junk1@davidbevan.co.uk Java 28 08-29-2012 12:47 PM
Can you evaluate a databinding expression? sydney.luu@gmail.com ASP .Net 1 03-28-2006 05:41 PM
How to explain "evaluate the expression as a void expression"? Jason luo C Programming 3 08-19-2004 12:43 AM
Evaluate such an expression as: (A and B) xor (C or D) evan C++ 1 06-28-2003 06:36 AM
Evaluate such an expression as: (A and B) xor (C or D) evan C++ 0 06-28-2003 05:32 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57