I am sorry for the poor description. I tried editing it to make it more clear.
I have an API that will accept several parameters. At the moment I need to perform a math operation using those parameters like so:
a / b * c * d
Where "a", "b", "c" and "d" will be values being passed to the API. However I want to make the math operations configurable using custom metadata. This way if a change needs to happen in the future no code will have to be changed only custom metadata.
Can I use custom metadata to make the formula flexible to the point where if needed tomorrow it can change to:
a * b / d