{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}

isNumeric

Checks if a string is numeric, that is, whether or not it can be converted to a numeric value.

Usage:

isNumeric( x )

Parameters:

x The string to check

Returns:

True if the string is numeric, false otherwise.

Examples:

isNumeric("abc")  // Returns false.
isNumeric("12m1") // Returns false.
isNumeric("45")   // Returns true.
isNumeric("1.2")  // Returns true.