Project

General

Profile

Actions

$abs » History » Revision 4

« Previous | Revision 4/11 (diff) | Next »
Per Amundsen, 02/08/2014 12:24 AM


$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

N is a double number.

Updated by Per Amundsen almost 11 years ago · 4 revisions

Also available in: PDF HTML TXT