I need a function that gets the final anwser from a calculation. Is there an extension that can do this? For example:
input(string):2+2
output(value):4
2*3->6
(2+4)*3->18
no. not that i'm aware of. youd need to code something with the string parser. maybe by way of pushing the tokens to a stack and doing calculations based on what the token is as you pop them back out.