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 developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #check #number #integer #javascript
ADD COMMENT
Topic
Name
6+6 =