Added in 1.8.10
$calc(operations)
Returns the result of the specified operations. You can perform multiple operations.
[arithmetic operators [arithmetic operators]].
Operations can be grouped with parentheses.
Parameters
operations - The calculations to perform.
Example
;Returns 6. //echo -ag $calc((4 + 4) - 2)