Currently the calculation field only supports basic arithmetics (addition, subtraction, division and miltuplication) at least that what I found in the JS file.
My personal need is the ability to write conditional calcualtions either with something like if
or ternary operator (?
).
If I’m not wrong you could use something like Math.js as it looks like it supports parsing of pretty advanced operators one of them is conditional one “? :” as described here: math.js | an extensive math library for JavaScript and Node.js