Converts the argument to a string value.
Category: | String |
Returned data type: | String |
TOSTRING(any)
any
specifies any non-string value to conversion to a string
// 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
For rules and special considerations when you coerce types, see Coercion.