Versions Compared

Key

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


UI Text Box
sizemedium
typeinfo

This function returns the ceiling value. i.e. the smallest mathematical integer that is greater than or equal to the given number.


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


UI Expand
titleExamples


Parser expressionDescription


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


This example returns:

-1


Code Block
languagebash
linenumberstrue
%{ceil(0)}


This example returns:

0


Code Block
languagebash
linenumberstrue
%{ceil(2.3)}


This example returns:

3



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 AddedUse cases and examples

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


Page properties
hiddentrue


Short descriptionReturns the smallest mathematical integer that is greater than or equal to the input number.
Output

Status
subtletrue
titlenumber