STRING

Convert the value to a text

Description

Converts the given value to a text. If the value is a number, returns its text representation, possibly including decimals. True/false values are converted to either "true" or "false". A null value is converted to an empty text.

Function signature

STRING(value: String|Number|Boolean) => String

Parameter

Description

Value

Value to stringify

Examples

Formula

Return value

STRING(123.456)

123.456

STRING(true)

true

STRING("hello")

hello