Difference between revisions of "IsNumeric"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:General_Functions]]
 
[[Category:General_Functions]]

+
{{HelpFiles}}
  
 
====isNumeric====
 
====isNumeric====

Revision as of 09:39, 12 December 2011



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