ABS()

From Recital Documentation Wiki
Revision as of 10:49, 11 June 2009 by Yvonnemilne (Talk | contribs)

Jump to: navigation, search

Class

Numeric Data


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 Database Server, Recital Mirage Server, Recital Terminal Developer