ConvertToString

From Catglobe Wiki
Jump to: navigation, search



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