abs

Absolute-value function. The absolute value of a number is
the number without its sign.

abs(number) → returns numeric

Argument Reference

number numeric
Required

Examples
Sample code invoking the abs function

abs(-4.3)

Expected Result: 4.3


Fork me on GitHub