Project

General

Profile

Actions

$abs » History » Revision 2

« Previous | Revision 2/11 (diff) | Next »
Per Amundsen, 02/07/2014 08:33 PM


$abs

Added in 1.9.0

$abs(N)

Returns the absolute value of number N.

//echo -ag $abs(5) returns 5
//echo -ag $abs(-1) returns 1

Updated by Per Amundsen about 10 years ago · 2 revisions

Also available in: PDF HTML TXT