Difference between revisions of "ConvertToString"
Line 19: | Line 19: | ||
'''Examples''' | '''Examples''' | ||
− | |||
− | |||
''string b = convertToString(23);'' | ''string b = convertToString(23);'' | ||
Line 26: | Line 24: | ||
''print("I'm " + b + " years old.");'' | ''print("I'm " + b + " years old.");'' | ||
− | '' | + | ''//I'm 23 years old. '' |
'''Availability''' | '''Availability''' |
Latest revision as of 12:03, 20 December 2011
convertToString
Converts the value of an expression to a string value.
Syntax
convertToString(expression)
Arguments
expression: Is an expression of the type bool, string or number.
Return type
string
Examples
string b = convertToString(23);
print("I'm " + b + " years old.");
//I'm 23 years old.
Availability
Version 4.8