I tried the the following command
but it does not seem to work.
Can any one help to convert a long to an integer
integervalue = Long.intValue(longvalue);
Printable View
I tried the the following command
but it does not seem to work.
Can any one help to convert a long to an integer
integervalue = Long.intValue(longvalue);
what about just casting long to int?
long l=1234;
int i;
i = (int)l;