toString toString
Converts an argument value into a string value, depending on its type. For more information on data types, refer to this page.
Category
Conversion
Function syntax
toString(<parameter>)
Parameters
Parameter
Description
dateTime
converts the date in UTC date format
dateTimeOnly
converts the date in UTC date format
duration
convert into the corresponding number of milliseconds as a string
integer
converts to string representation of the value (1 becomes 鈥1鈥)
decimal
converts to string representation of the value (1.5 becomes 鈥1.5鈥)
boolean
convert the boolean value as 鈥榯rue鈥 if true, 鈥榝alse鈥 if false
Signatures and returned type
toString(<dateTimeOnly>)
toString(<dateTime>)
toString(<duration>)
toString(<boolean>)
toString(<integer>)
toString(<decimal>)
Return a string.
Example
toString(4)
Returns 鈥4鈥.
recommendation-more-help
4f4a00c1-77c9-4eee-84df-bbe6206c3ab9