Difference between revisions of "ConvertToString"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:General_Functions]]

+
{{HelpFiles}}
  
 
====convertToString====
 
====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