MY code is:
function isNumber(n){ return typeof n == \'number\' && !isNaN(n); } window.onload=function(){ var a=0,b=1,c=2.2,d=-3,e=-4.4,f=10/3; var
I use combination of parse and check for numbers.. as outlined below
function isNumber(inputValue){ return ((parseFloat(inputValue) ==0 || parseFloat(inputValue)) && !isNaN(inputValue)); };
hope this helps