Abs

circle-info

The Abs() function takes the absolute value of a number.

This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.

circle-check
circle-exclamation

Syntax

chevron-rightAbs(number)hashtag

Abs(-123.4567) => 123.4567

Abs(unknownnumber) => Invalid expression

Parameters

Name
Type
Required
Description

number

numeric

☑️

a number

Examples

Function call
Result

Abs(123.456)

123.456

Abs(-123.456)

123.456

Abs(1.23456*10^6)

1234560

Last updated

Was this helpful?