How do I decode string to integer?
Category: java.lang, viewed: 11572 time(s).
The static Integer.decode() method can be use to convert a string
representation of a number into an Integer object. Under the cover
this method call the Integer.valueOf(String s, int radix).
The string can start with the optional negative sign followed with radix specified such as 0x, 0X, # for hexa decimal value, 0 (zero) for octal number.
Download Hundreds of Complimentary Industry Resources
Get hundreds of popular Industry magazines, white papers, webinars, podcasts, and more;
all available at no cost to you. With more than 600 complimentary offers, you'll find
plenty of titles to suit your professional interests and needs.
Click Here and Sign up today!


