$abs

Added in 1.9.0

$abs(N)

Returns the absolute value of number N.

//echo -ag $abs(5) returns 5
//echo -ag $abs(-1) returns 1