Project

General

Profile

Actions

Added in 1.9.0

$abs(N)

Returns the absolute value of number N.

Supports Big Integers

Parameters

Parameter Description
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 over 1 year ago · 11 revisions

Also available in: PDF HTML TXT