Project

General

Profile

$abs » History » Revision 10

Revision 9 (Per Amundsen, 12/11/2018 08:03 PM) → Revision 10/11 (Per Amundsen, 09/09/2020 10:56 AM)

_Added in 1.9.0_ 

 *$abs(N)* 

 Returns the absolute value of number N. 

 _Supports "Big Integers":https://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic_ 

 *Parameters* 

 N - The number to find the absolute value of. 

 *Example* 

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

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