Function: abs

Function: abs

since 0.3.7

Usage

 abs(some_number)

Returns the absolute value of a number.

Parameters

Parameter Type Description
input number or real number Number to determine the absolute value of

Examples

 abs(1.5) == 1.5
 abs(-1)  == 1