function isNumeric(num){ return !isNaN(num) } isNumeric("23.33"); //true, checking if string is a number.