Versions Compared

Key

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

Page properties
hiddentrue
Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged

Page properties
hiddentrue
Short descriptionReturns the closest integer to the input number.Output

Status
subtletrue
titlenumber

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

Page properties
hiddentrue
Short descriptionReturns the closest integer to the input number.
Output

Status
subtletrue
titlenumber