javascript - isNumeric

function isNumeric(n) {

     var _isNumeric = !isNaN(parseFloat(n)) && isFinite(n);

     if (_isNumeric)
        return true;
     else
        return false;
}

Popular posts from this blog

SAP CPI - Loop Process Call with SuccessFactor (oData V2)

Setting IntelliJ IDEA to run Groovy Script

C# - BASE64 to Image