|
-
Sep 4th, 2001, 05:10 PM
#4
Dazed Member
Just some methods and their uses.
Integer intObj1 = Integer.valueOf(String s);
returns a wrapper object corresponding to the to the primitive
value represented by the String object passed as an arguement.
Also as crptcblade pointed out. There are two parstInt() methods
within the Integer class. If you interested in numbering systems
public static int parseInt(String s);
public static int parseInt(String s, int radix);
you can also use:
public static String toHexString(int i);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|