Floor

Returns the largest whole number that is less than or equal to the given value.

Syntax

Floor(n)

Parameters

Parameter

Description

n

Any numeric value or expression.

Note: FormCalc follows the IEEE-754 international standard when handling floating point numeric values. For more information, see Number literals.

Examples

The following expressions are examples of using the Floor function:

Expression

Returns

Floor(21.3409873)

21

Floor(5.999965342)

5

Floor(3.2 * 15)

48

// Ethnio survey code removed