ABS()

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Function to return absolute value


Syntax

ABS(<expN>)


See Also

FIXED(), INT(), ROUND(), SET DECIMALS


Description

The ABS() function returns the absolute value of the numeric expression <expN>.


Example

? abs(-1)
         1
? abs(-5.6)
       5.6
? abs(2.5)
       2.5


Products

Recital Server, Recital