Project

General

Profile

$abs » History » Version 2

Per Amundsen, 02/07/2014 08:33 PM

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>