Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how would you check if a number is an integer in javascript

console.log(Number.isInteger(9.5)) // false
 
PREVIOUS NEXT
Tagged: #check #number #integer #javascript
ADD COMMENT
Topic
Name
9+1 =