Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ConvertToString: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
Cg van (talk | contribs)
No edit summary
 
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 11: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