Project

General

Profile

$calc » History » Version 4

Per Amundsen, 02/28/2014 12:52 PM

1 1 Per Amundsen
_Added in 1.8.10_
2
3
*$calc(operations)*
4
5
Returns the result of the specified operations. You can perform multiple operations.
6
7 4 Per Amundsen
[[Arithmetic Operators]].
8 2 Per Amundsen
9
Operations can be grouped with parentheses.
10 1 Per Amundsen
11
*Parameters*
12
13
operations - The calculations to perform.
14
15
*Example*
16
17
<pre>
18
;Returns 6.
19
//echo -ag $calc((4 + 4) - 2)
20
</pre>