DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
how to tell if a number is an int or a double java
if (x % 1 == 0) // true: it's an integer, false: it's not an integer
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#number
#int
#double
#java
ADD COMMENT
Topic
COMMENT
Name
9+3 =
Submit