XFA Specification
Chapter 23, FormCalc Specification
Arithmetic Built-in Functions
832
Arithmetic Built-in Functions
Abs()
This function returns the absolute value of a given number.
Syntax
Abs(n1)
Parameters
n1
is the number to evaluate.
Returns
The absolute value or null if its parameter is null.
Examples
Abs(1.03)
returns 1.03.
Abs(-1.03)
returns 1.03.
Abs(0)
returns 0.