This function returns the floor value. i.e. The greatest mathematical integer that is less than or equal to the given number.

Syntax
floor(number) #Output: Number
Examples
Parser expressionDescription
%{floor(-1.3)}

This example returns:

-2

%{floor(0)}

This example returns:

0

%{floor(2.3)}

This example returns:

2

Additional information

Parameters used in this function

ParameterInput (data type)Description
number

NUMBER

Any given number or numeric field code.
Output

This function returns a NUMBER


Use cases and examples