Project

General

Profile

Actions

$calc » History » Revision 2

« Previous | Revision 2/8 (diff) | Next »
Per Amundsen, 02/28/2014 12:51 PM


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)

Updated by Per Amundsen over 10 years ago · 2 revisions

Also available in: PDF HTML TXT