Project

General

Profile

Actions

$abs » History » Revision 5

« Previous | Revision 5/11 (diff) | Next »
Per Amundsen, 02/17/2014 09:02 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.

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

N is a double number.

Updated by Per Amundsen about 10 years ago · 5 revisions

Also available in: PDF HTML TXT