abs

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

abs(number) → returns Numeric

Argument Reference for the abs function

number

Required: Yes

Examples sample code invoking the abs function


Absolute Value of -4.3

abs(-4.3)

Expected Result: 4.3


Fork me on GitHub