Difference between revisions of "ABS()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Class==
 
Numeric Data
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to return absolute value
 
Function to return absolute value
Line 12: Line 8:
  
 
==See Also==
 
==See Also==
[[INT()]], [[ROUND()]], [[SET DECIMALS]]
+
[[FIXED()]], [[INT()]], [[ROUND()]], [[SET DECIMALS]]
  
  
Line 31: Line 27:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Numeric Data]]
 +
[[Category:Numeric Data Functions]]

Latest revision as of 16:35, 25 November 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 Server, Recital