Project

General

Profile

Actions

$abs » History » Revision 9

« Previous | Revision 9/11 (diff) | Next »
Per Amundsen, 12/11/2018 08:03 PM


Added in 1.9.0

$abs(N)

Returns the absolute value of number N.

Parameters

N - The number to find the absolute value of.

Example

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

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

Updated by Per Amundsen about 6 years ago · 9 revisions

Also available in: PDF HTML TXT