$calc » History » Version 1
Per Amundsen, 02/28/2014 12:49 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 | See useable [[arithmetic operators]]. |
||
8 | |||
9 | *Parameters* |
||
10 | |||
11 | operations - The calculations to perform. |
||
12 | |||
13 | *Example* |
||
14 | |||
15 | <pre> |
||
16 | ;Returns 6. |
||
17 | //echo -ag $calc((4 + 4) - 2) |
||
18 | </pre> |