ABS

Absolute

Syntax

ABS(val)

Notes

Returns the absolute (positive) value of a number.

Examples

abs(-5)

returns 5
abs(-5.6)

returns 5.6