Project

General

Profile

$abs » History » Revision 2

Revision 1 (Per Amundsen, 02/07/2014 11:22 AM) → Revision 2/11 (Per Amundsen, 02/07/2014 08:33 PM)

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>