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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #number #integer #javascript
ADD COMMENT
Topic
Name
4+6 =