checkNumeric Function

Check if the passed value is a number.