Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Changing from hexadecimal to binary

807606May 5 2007 — edited May 14 2007
Is there a way to easily convert hexadecimal numbers to binary in a java program?

For instance, if "2" is inputed, I need "100000" outputed.

The numbers are in String format.

Thank you!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 11 2007
Added on May 5 2007
25 comments
1,150 views