if (a == (int) a)
Where a is any primitive data type byte, short, int, long, float, double, or char. If you want to test larger numbers, use long.
if (a == (long) a)
Type: Posts; User: helloworld922
if (a == (int) a)
Where a is any primitive data type byte, short, int, long, float, double, or char. If you want to test larger numbers, use long.
if (a == (long) a)