IsNumeric

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



isNumeric

Checks if the value of a specific parameter can be converted to a number.

Syntax

isNumeric(expression)

Arguments

expression: Is an expression of any types defined

Return type

bool

Examples

{

string a = "1";

if (isNumeric(a)) print("The value of a can be converted to a number");

}

Availability

Version 4.8