Project

General

Profile

$calc » History » Revision 4

Revision 3 (Per Amundsen, 02/28/2014 12:51 PM) → Revision 4/8 (Per Amundsen, 02/28/2014 12:52 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>