Project

General

Profile

$abs » History » Version 3

Per Amundsen, 02/08/2014 12:23 AM

1 1 Per Amundsen
h1. $abs
2
3 2 Per Amundsen
_Added in 1.9.0_
4
5 1 Per Amundsen
$abs(N)
6
7
Returns the absolute value of number N.
8
9
<pre>
10
//echo -ag $abs(5) returns 5
11
//echo -ag $abs(-1) returns 1
12
</pre>
13 3 Per Amundsen
14
N is a double.