Project

General

Profile

$calc » History » Revision 2

Revision 1 (Per Amundsen, 02/28/2014 12:49 PM) → Revision 2/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 See useable [[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>