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 description

Calculates the average values of a given number list.

Output Statussubtletruetitlenumber UI Text Box
sizemedium
typeinfo

This function calculates the average value of a given number list.


Code Block
languagebash
titleSyntax
linenumberstrue
avg(numberList) #Output: Number


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
%{avg([1, 2, 3, 4, 5])}


This example returns:

3



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
numberList

Status
subtletrue
titlenumber list

Any given number list.



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


Page properties
hiddentrue


Short description

Calculates the average values of a given number list.

Output

Status
subtletrue
titlenumber