I'd like to store a maths formula in a string then use it as an expression to be solved.
For example;
myStringVar = "1+1+(3/2)"
myIntVar = int(myStringVar)
Construct doesn't allow this.
Is something like this possible? Perhaps Js? I have no knowledge of how it can be done.
Thanks.