Value2String

Syntax
str value2String(AnyType value[, Types theType])

Description
Converts the value to the equivalent text string. Value may by anytype, you can set the type of the value or live the default.

Example
date d = str2date("2006-05-16", 321); int i = 123; real r = 32.2; str s = "foo";

value2String(d); //returns the text string "2006516". value2String(i); //returns the text string "123". value2String(r); //returns the text string "32.20". value2String(s); //returns the text string ""foo"".

Note
We can use Value2String or strFmt function to convert value to string. Ex. Data type may not corect convert.

Value2String is defined in the Global class.