I have to do a calculation based on 2 things:
1 - The value that the user informs
2 - The base account that I have registered with the bank
I have the base account: 5149.3074 * {{INPUT}} (0.0001) -5129.6906
Where is {{INPUT}} is the value that the user input in the input, until then I can replace {{INPUT}} with the value with the str_replace
. The biggest problem is in " ^ " which means "Power" and for this PHP needs a function to calculate. What I need is to get the value that is after " ^ " in parentheses.
How can I do this?