This week's book giveaway is in the Performance forum. We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line! See this thread for details.
How do you convert a decimal to hexidecimal or octal? How do you convert a hexidecimal or octal back to decimal? Example: how do you convert decimal 100? Thanks in Advance! Edmund
posted 15 years ago
Notice that when converting from octal to decimal, you don't need the leading zero in the String. Similarly, conversion from hexadecimal to decimal does not require (or allow) a leading "0X" or "0x". Art