Difference between revisions of "ABS()"

From Lianjapedia
Jump to: navigation, search
m (Text replace - "Recital" to "Lianja")
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to return absolute value
 
Function to return absolute value
 
  
 
==Syntax==
 
==Syntax==
 
ABS(<expN>)
 
ABS(<expN>)
 
  
 
==See Also==
 
==See Also==
 
[[FIXED()]], [[INT()]], [[ROUND()]], [[SET DECIMALS]]
 
[[FIXED()]], [[INT()]], [[ROUND()]], [[SET DECIMALS]]
 
  
 
==Description==
 
==Description==
 
The ABS() function returns the absolute value of the numeric expression <expN>.
 
The ABS() function returns the absolute value of the numeric expression <expN>.
 
  
 
==Example==
 
==Example==
Line 24: Line 20:
 
       2.5
 
       2.5
 
</code>
 
</code>
 
  
 
==Products==
 
==Products==

Revision as of 11:26, 11 December 2012

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

Lianja Server, Lianja