Project

General

Profile

Added in 1.8.10

$calc(operations)

Returns the result of the specified operations. You can perform multiple operations.

Arithmetic Operators.

Operations can be grouped with parentheses.

Parameters

operations - The calculations to perform.

Example

; Returns 6.
//echo -ag $calc((4 + 4) - 2)

Updated by Per Amundsen over 2 years ago · 5 revisions

Also available in: PDF HTML TXT