Project

General

Profile

$abs » History » Revision 4

Revision 3 (Per Amundsen, 02/08/2014 12:23 AM) → Revision 4/11 (Per Amundsen, 02/08/2014 12:24 AM)

h1. $abs 

 _Added in 1.9.0_ 

 $abs(N) 

 Returns the absolute value of number N. 

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

 N is a double number. double.