This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com
Home
ABS (arithmetic_expression)
The ABS function returns the absolute value of the arithmetic_expression.
This example returns the absolute value of the prices and multiplies them by a given quantity:
ABS(Price) * quantity
Product: 4D Theme: Functions
4D SQL Reference ( 4D v20)