954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

URGENT:::how to compute a string in c#???

string abc="40+40*4.2%+120";
how can i get the result???
means it should be computed as:::
double xyz=40+40*4.2%+120;


how this is possible????

u4umang2001
Light Poster
28 posts since Nov 2007
Reputation Points: 10
Solved Threads: 0
 

I think there is no ready made solution.

Try this link

http://www.aspnettutorials.com/tutorials/advanced/cut-string-csharp.aspx

sebastian3
Junior Poster in Training
55 posts since May 2008
Reputation Points: 10
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You