Hi!
I need to interpret a string which contains a mathematical expression and get from it a double value. For example:
from the string "(2+2)^2" get the value 16 (as integer or double)
I prefer to use an existant method rather than writting my own interpreter if possible. Any ideas?
thanks!
I need to interpret a string which contains a mathematical expression and get from it a double value. For example:
from the string "(2+2)^2" get the value 16 (as integer or double)
I prefer to use an existant method rather than writting my own interpreter if possible. Any ideas?
thanks!
Comment