Project

General

Profile

Actions

$abs » History » Revision 8

« Previous | Revision 8/11 (diff) | Next »
Per Amundsen, 06/27/2014 02:28 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. (N is a double number)

Example

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

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

Updated by Per Amundsen over 10 years ago · 8 revisions

Also available in: PDF HTML TXT