Actions
$abs » History » Revision 6
« Previous |
Revision 6/11
(diff)
| Next »
Per Amundsen, 02/17/2014 09:03 AM
Added in 1.9.0
$abs(N)
Returns the absolute value of number N.
Parameters
N - The number to find the absolute value of. (N is a double number)
Example
//echo -ag $abs(5) returns 5 //echo -ag $abs(-1) returns 1
Updated by Per Amundsen over 10 years ago · 6 revisions