Project

General

Profile

$abs » History » Revision 5

Revision 4 (Per Amundsen, 02/08/2014 12:24 AM) → Revision 5/11 (Per Amundsen, 02/17/2014 09:02 AM)

h1. $abs 

 _Added in 1.9.0_ 

 *$abs(N)* $abs(N) 

 Returns the absolute value of number N. 

 *Parameters* 

 N - The number to find the absolute value of. 

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

 N is a double number.