Project

General

Profile

$abs » History » Revision 3

Revision 2 (Per Amundsen, 02/07/2014 08:33 PM) → Revision 3/11 (Per Amundsen, 02/08/2014 12:23 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.