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

Home

 
4D v19
ABS

ABS 


 

ABS ( value ) 
Parameter Type   Description
value  Real, Expression in Number whose absolute value is returned

The ABS function calculates the absolute value(s) of the specified value. If value is negative, a positive value will be returned. It accepts numeric data as values or expressions and returns numberic data.

Example  

ABS(-6) //result:= 6

ABS(16-26) //result:= 10

ABS(6) //result:= 6

 
PROPERTIES 

Product: 4D
Theme: 4D View Pro Formulas

 
PAGE CONTENTS 
 
HISTORY 

 
ARTICLE USAGE

4D View Pro Reference ( 4D v19)