XFA Specification
Chapter 23, FormCalc Specification
Arithmetic Built-in Functions
836
Floor()
This function returns the largest whole number that is less than or equal to a given value.
Syntax
Floor(n1)
Parameters
n1
is the number to evaluate.
Returns
The floor or null if its parameter is null.
Examples
Floor(6.5)
returns 6.
Floor(7.0)
returns 7.
Floor(Price)
returns 99 if the value of
Price
is 99.999.