Versions Compared

Key

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


UI Text Box
sizemedium
typeinfo

This function returns a number list with results of the given calculation performed for each number in the specified list.


Code Block
languagebash
titleSyntax
linenumberstrue
mathOnNumberList(numberList, mathExpression) #Output: Number list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
mathOnNumberList([1, 2, 3, 4, 5], {seed.number} * 2) 


This example returns the following number list: [2, 4, 6, 8, 10]


Code Block
languagebash
linenumberstrue
mathOnNumberList([1, 2, 3, 4, 5], {seed.number} * 2) 





UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
numberList

Status
subtletrue
titlenumber list

Any given number list.
mathExpression

Status
subtletrue
titletext

A valid math expression.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber list



Image AddedUse cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_mathonnumberlist" and space = currentSpace()


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

Returns a number list with results of the given calculation performed for each number in the specified list.

Output

Status
subtletrue
titlenumber list

Available since

Status
subtletrue
colourBlue
title2.2.8

Label