showing results for - "check if value is number"
Alex
18 Jan 2019
1if(isNaN(num1))
2OR:
3if(typeof num1 == 'number'){
4    document.write(num1 + " is a number <br/>");
5 }else{
6    document.write(num1 + " is not a number <br/>");
7 }