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 descriptionConverts a text to a number.Output

Status
subtletrue
titlenumber

UI Text Box
sizemedium
typeinfo

This function converts a text representing a numerical value to a number.

This function expects a decimal representation of a number. In case it is not possible to parse the text to a number and null is returned.


Code Block
languagebash
titleSyntax
linenumberstrue
toNumber(text) #Output: Number
UI Expand
titleExamples
Parser expressionDescription
Code Block
languagebash
linenumberstrue
 %{toNumber("3.14")}

This example return:

3.14

UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
text

Status
subtletrue
titletext

Any given text representing a numerical value.
UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber

Page properties
hiddentrue
Short descriptionConverts a text to a number.
Output

Status
subtletrue
titlenumber