Project

General

Profile

$abs » History » Revision 7

Revision 6 (Per Amundsen, 02/17/2014 09:03 AM) → Revision 7/11 (Per Amundsen, 02/17/2014 09:06 AM)

_Added in 1.9.0_ 

 *$abs(N)* 

 Returns the absolute value of number N. 

 *Parameters* 

 N - The number to find the absolute value of. (N is a double number) 

 *Example* 

 <pre> 
 ;Returns 5. 
 //echo -ag $abs(5) 

 ;Returns 1. returns 5 
 //echo -ag $abs(-1) returns 1 
 </pre>