This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20
ABS

ABS  


 

 

Command ABS

ABS (arithmetic_expression)

The ABS function returns the absolute value of the arithmetic_expression.

Example  

This example returns the absolute value of the prices and multiplies them by a given quantity:

ABS(Price) * quantity

 
PROPERTIES 

Product: 4D
Theme: Functions

 
PAGE CONTENTS 
 
HISTORY 

 
ARTICLE USAGE

4D SQL Reference ( 4D v20)