Project

General

Profile

$calc » History » Revision 3

Revision 2 (Per Amundsen, 02/28/2014 12:51 PM) → Revision 3/8 (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 [arithmetic operators]]. 

 Operations can be grouped with parentheses. 

 *Parameters* 

 operations - The calculations to perform. 

 *Example* 

 <pre> 
 ;Returns 6. 
 //echo -ag $calc((4 + 4) - 2) 
 </pre>