Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js check if number has decimals

num % 1 != 0
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #check #number #decimals
ADD COMMENT
Topic
Name
1+1 =