TOSTRING Function

Converts the argument to a string value.

Category: String
Returned data type: String

Syntax

TOSTRING(any)

Required Argument

any

specifies any non-string value to conversion to a string.

Example

// Declare a string variable to contain the string
String stringval
 
// Use the TOINTEGER function to populate the integer variable
stringval=tostring(3750.12345)
 
// Returns the string
3750.12345

See Also

For rules and special considerations when you coerce types, see Coercion.