Versions Compared

Key

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


Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
colourGreen
titledone

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



Page properties
hiddentrue


Short description

Returns the a value stored in an number variable named variable_name, which was previously created using the setNumber() function variable.

Output

Status
subtletrue
titlenumber

Available since

Status
subtletrue
colourRedBlue
titleneeds lookup2.6.0




UI Text Box
sizemedium
typeinfo

This function returns the value stored in a number variable named variable_name, which was previously created using created using the setNumber() function.


Code Block
languagebash
titleSyntax
linenumberstrue
getNumber(text variable_namevariableName) #Output: Number


UI Expand
titleExamples


Expression parserDescription


Code Block
languagebash
linenumberstrue
getNumber("myNumber")


This example returns the value stored in "myNumber", e.g.:

3



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
xxxvariableName

Status
subtletrue
titledata typetext

The name of the stored variableParameter description.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber


UI Text Box
typetip

To return the value you must have created the variable before, using the setIssueList() function within the same expression.