Peltito
07-25-2003, 07:27 PM
long myLong = 2;
int myInt = myLong.intValue();
Note: myLong.intValue() doesn't work because it says an object type is required but a long is found...? This function is straight out of the Long listing in the 1.3.1 api. What am I doing wrong? Thanks for the help!
int myInt = myLong.intValue();
Note: myLong.intValue() doesn't work because it says an object type is required but a long is found...? This function is straight out of the Long listing in the 1.3.1 api. What am I doing wrong? Thanks for the help!