Difference between revisions of "ABS()"

From Recital Documentation Wiki
Jump to: navigation, search
Line 12: Line 12:
  
 
==See Also==
 
==See Also==
[[INT()]], [[ROUND()]], [[SET DECIMALS]]
+
[[FIXED()]], [[INT()]], [[ROUND()]], [[SET DECIMALS]]
  
  

Revision as of 10:49, 11 June 2009

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