Expression evaluation

Z

zdrakec

Hello all:

Although I have an idea or two about how to do this, I would love some
input.
Say I have a numeric value, and I retrieve a string expression
detailing an operation to perform on this value.
For example, say I have a float variable containing the value 0.21. Let
us suppose I have a string expression containing:
"* 0.50". So, I want now to execute the expression:
0.21 * 0.50, and obtain the result.

Any suggestions?
Thanks much,
zdrakec
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top