Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


UI Text Box
sizemedium
typeinfo

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


Code Block
languagebash
titleSyntax
linenumberstrue
floor(number) #Output: Number


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
%{floor(-1.3)}


This example returns:

-2


Code Block
languagebash
linenumberstrue
%{floor(0)}


This example returns:

0


Code Block
languagebash
linenumberstrue
%{floor(2.3)}


This example returns:

2



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
number

Status
subtletrue
titlenumber

Any given number or numeric field code.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber



Image ModifiedUse cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_floor" and space = currentSpace()


Page properties
hiddentrue


Short descriptionReturns the greatest mathematical integer that is less than or equal to the input number.
Output

Status
subtletrue
titlenumber