Versions Compared

Key

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


UI Text Box
sizemedium
typeinfo

This function returns the closest integer to the given number.


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


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
%{round(2.2)}


This example returns:

2


Code Block
languagebash
linenumberstrue
%{round(0.75)}


This example returns:

1



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_round" and space = currentSpace()


Page properties
hiddentrue


Short descriptionReturns the closest integer to the input number.
Output

Status
subtletrue
titlenumber