InterviewSolution
VAR myValue =9.8; if(parseInt(myValue)== myValue) ALERT('INTEGER'); ELSE alert('Not an integer');
var myValue =9.8; if(parseInt(myValue)== myValue) alert('Integer'); else alert('Not an integer');
Your experience on this site will be improved by allowing cookies. Read Cookie Policy