Project

General

Profile

Actions

$abs » History » Revision 10

« Previous | Revision 10/11 (diff) | Next »
Per Amundsen, 09/09/2020 10:56 AM


Added in 1.9.0

$abs(N)

Returns the absolute value of number N.

Supports Big Integers

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 4 years ago · 10 revisions

Also available in: PDF HTML TXT