tostring

Description

Returns a string value equivalent of the source.

Syntax

string = tostring(object[, number])

ParameterDescription
object Object to be converted to a numeric value.
number Precision to use for a numeric object.

Return Value

Returns a string value equivalent of the source. If both arguments are numbers, the second allows the setting of a decimal precision.