Project

General

Profile

Actions

$calc » History » Revision 3

« Previous | Revision 3/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 about 10 years ago · 3 revisions

Also available in: PDF HTML TXT