Absolute value

Syntax

ABS …numeric-expr…

Typing

numeric -> numeric

Description

Return the absolute value of an expression of any numeric type.

Examples

expression evaluates to
ABS(-1.2) 1.2