STRING

Convert the value to a string

Description

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

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