ConvertToNumber

From Catglobe Wiki
Revision as of 09:44, 21 March 2011 by Cg pham (talk | contribs)
Jump to: navigation, search



convertToNumber

Converts the value of an expression to a number value.

Syntax

convertToNumber(expression)

Arguments

expression: Is an expression of the type bool, string or number.

Return type

number

Examples

{

number b = convertToNumber("45");

print(b);

}

Availability

Version 4.8