/
abs

abs



Function: abs()

Returns the absolute value of a number.

Syntax

abs(number)

ArgumentTypeDescription
numberNumberA number for which the absolute value is required.

Examples

abs(-2.3)

returns 2.3.


abs(2.3)

returns 2.3.

See Also

Related content

abs
More like this
abs
More like this
sqrt
More like this
sqrt
sqrt
More like this
sqrt
More like this
not
More like this