I get a string from database just like a function:
T=1.3*1.5/1.6
I want to get the calculating result of this string automatically.
What can I do in my program.
Thank you very much.
Printable View
I get a string from database just like a function:
T=1.3*1.5/1.6
I want to get the calculating result of this string automatically.
What can I do in my program.
Thank you very much.
Use string manipulation functions to pick out the pieces you want and use if statements to determine what calculations to do. I doubt you can turn that into a mathmatical expression to be executed as if it were VB code.