$calcint » History » Version 1
Per Amundsen, 11/07/2018 09:42 AM
| 1 | 1 | Per Amundsen | _Added in 3.3_ |
|---|---|---|---|
| 2 | |||
| 3 | *$calcint(operations)* |
||
| 4 | |||
| 5 | Returns the result of the specified operations. You can perform multiple operations. |
||
| 6 | |||
| 7 | Can calculate extremely high numbers, but can only be used on whole numbers, not decimal/float/fractions. |
||
| 8 | |||
| 9 | [[Arithmetic Operators]]. |
||
| 10 | |||
| 11 | Operations can be grouped with parentheses. |
||
| 12 | |||
| 13 | *Parameters* |
||
| 14 | |||
| 15 | operations - The calculations to perform. |
||
| 16 | |||
| 17 | *Example* |
||
| 18 | |||
| 19 | <pre> |
||
| 20 | //echo -ag $calcint((2 ^ 256) - 1) |
||
| 21 | </pre> |