You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

This function returns a text with a comma-separated list of decimal representation of the numeric values in l.

Syntax
 toString(number list l) #Output: Text
Examples
Parser expressionDescription
toString([1, 2, 3, 4.0])

This example returns the following text: "1, 2, 3, 4"

Additional information

Parameters used in this function

ParameterInput (data type)Description
l

NUMBER LIST

Any given number list.
Output

This function returns a TEXT


This function returns a text with a comma-separated list of issue keys.

Syntax
toString(issue list l) #Output: Text
Examples
Parser expressionDescription
toString(subtasks())

This example returns "CRM-5, CRM-6 ", being CRM-5 and CRM-6 the keys of current issue's sub-tasks.

Additional information

Parameters used in this function

ParameterInput (data type)Description
l

ISSUE LIST

Any given issue list.
Output

This function returns a TEXT


This function returns a text with a list of issue keys separated by parameter separator.

Syntax
toString(issue list l, string separator) #Output: Text
Examples
Parser expressionDescription
 toString(subtasks(), " " )

This example returns "CRM-5, CRM-6 ", being CRM-5 and CRM-6 the keys of current issue's sub-tasks.

Additional information

Parameters used in this function

ParameterInput (data type)Description
l

ISSUE LIST

Any given issue list.
separator

DATA TYPE

Parameter description.
Output

This function returns a TEXT


This function returns a text with a comma-separated list of decimal representations of the numeric values in l, with the number of characters in the decimal part specified by parameter decimals.

Syntax
 toString(number list l, number decimals) #Output: Text
Examples
Parser expressionDescription
toString([1.123, 2.452, 3.64612], 2)

This example returns the following text: "1.12, 2.45, 3.65"

Additional information

Parameters used in this function

ParameterInput (data type)Description
l

NUMBER LIST

Any given number list.
decimals

DATA TYPE

Any natural number.
Output

This function returns a TEXT


This function returns a text with a list of decimal representations of the numeric values in l, with the number of characters in the decimal part specified by parameter decimals and separated by parameter separator.

Syntax
 toString(number list l, number decimals, text separator) #Output: Text
Examples
Parser expressionDescription
toString([1.123, 2.452, 3.64612], 2, " : ")

This example returns the following text: "1.12 : 2.45 : 3.65"

Additional information

Parameters used in this function

ParameterInput (data type)Description
l

NUMBER LIST

Any given number list.
decimals

NUMBER

Any natural number.
separator

TEXT

Parameter description.
Output

This function returns a TEXT


This function returns a text with the decimal representation of the numeric value in n. Numeric value of a Date_Time field is number of milliseconds elapsed since January 1, 1970, 00:00:00 GMT.

Syntax
 toString(number n) #Output: Text
Examples
Parser expressionDescription
toString(3.141592)

This example returns the following text: "3.141592"

Additional information

Parameters used in this function

ParameterInput (data type)Description
n

NUMBER

Any given number.
Output

This function returns a TEXT


This function returns a text with the decimal representation of the numeric value in n limiting the fractional part to the number of digits in parameter decimals.

Syntax
 toString(number n, number decimals) #Output: Text
Examples
Parser expressionDescription
toString(3.141592, 2)

This example returns the following text: "3.14"

Additional information

Parameters used in this function

ParameterInput (data type)Description
n

NUMBER

Any given number.
decimals

NUMBER

Any given number smaller or equal than n.
Output

This function returns a TEXT


This function returns a text with a comma-separated list of text values in l.

Syntax
 toString(string list l) #Output: Text
Examples
Parser expressionDescription
toString(["Hello", " ", "world", "!"])

This example returns the following text: "Hello, , world, !"

Additional information

Parameters used in this function

ParameterInput (data type)Description
l

TEXT LIST

Any given text list.
Output

This function returns a TEXT


This function returns a text from the list of text values in l separated by parameter separator.

Syntax
toString(text list l, text separator) #Output: Text
Examples
Parser expressionDescription
toString(["blue", "red", "green"], "; ")

This example returns the following text: " blue; red; green "

Additional information

Parameters used in this function

ParameterInput (data type)Description
l

TEXT LIST

Any given text list.
seperator

TEXT

Parameter description.
Output

This function returns a TEXT