More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{HelpFiles}} | {{HelpFiles}} | ||
=== | ==== 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 | string | ||
'''Examples''' | |||
''string b = convertToString(23);'' | |||
__NOTOC__ | ''print("I'm " + b + " years old.");'' | ||
''//I'm 23 years old.'' | |||
'''Availability''' | |||
Version 4.8 __NOTOC__ | |||
<!-- imported from file: 394.htm--> |
Revision as of 01:59, 16 November 2015
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