wood burning stoves
The moose likes Beginning Java and the fly likes int Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "int" Watch "int" New topic


Lucky Singh
Ranch Hand

Joined: Jan 19, 2004
Posts: 125
I have a number= 5;
How do i check if number is an int?
Carlos Failde
Ranch Hand

Joined: Oct 20, 2000
Posts: 84
There was a thread about this a few days ago that may be of some help, how can i determine the type of a variable?
It is sorta covered in the JavaRanch Style Guide.
subject: int
It's not a secret anymore!