Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

String containing math expression

Status
Not open for further replies.

vbjan

Programmer
Feb 22, 2008
2
0
0
Hi!

Having a variable expressing for example the following string: "4+6*2"

How can i get the mathematic result from that string?

Tips:
Because the string is containing two no-numeric characters, it is not possible just to convert the string to an integer.

 
Read this....

thread222-1189194


-George

"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
Thank you very much George, that works fine :).

vbjan

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top