Converts the given parameter to a string value. If the parameter is a number that contains more than 3 digits after a decimal place, then the output of STRING will be rounded up to the thousandths place (3 digits after the decimal place). If you need all numbers after the decimal place included in the string, use the toString method.

Parameters

anything Object (required) - Any value

Returns

String

Examples

STRING(1, 2, 3)

// returns "1, 2, 3"
STRING($choice_field)

// returns "Red, Green, Blue"
STRING(1)

// returns "1"
STRING(true)

// returns "true"
STRING([1, 2, 3])

// returns "1, 2, 3"
STRING(null)

// returns ""