Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

verify if number is not floating

let number = 2.4
Number.isInteger(number) // false

let number2 = 2
Number.isInteger(number2) // true
 
PREVIOUS NEXT
Tagged: #verify #number #floating
ADD COMMENT
Topic
Name
5+9 =