Difference between revisions of "ABS()"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
Line 1: Line 1:
==Class==
 
Numeric Data
 
  
  

Revision as of 16:53, 26 October 2009


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