aspose file tools
The moose likes Beginning Java and the fly likes how to convert a hex or binary number to decimal and vice versa using a any java mehtod Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "how to convert a hex or binary number to decimal and vice versa using a any java mehtod" Watch "how to convert a hex or binary number to decimal and vice versa using a any java mehtod" New topic
Author

how to convert a hex or binary number to decimal and vice versa using a any java mehtod

munir hussain
Greenhorn

Joined: Mar 05, 2009
Posts: 5



how to convert a hex or binary number to decimal and vice versa using a any java mehtod, can any one help.
and one more thing that can any one explain how computer store and retrieve - sign . i am so much confusd with left and right shifts

your help will be appreciated.
regards
munir


muneer hussain ali
Jesper de Jong
Java Cowboy
Bartender

Joined: Aug 16, 2005
Posts: 12952
    
    3

Welcome to JavaRanch.

The forum that you posted this in is for announcing your result if you did a Sun certification exam, and not for asking Java questions. I will move this topic to a more appropriate forum. Please carefully choose one forum next time you post a topic.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32830
    
    4
Please explain what you want: have you got a String in hex which you want to parse to an integer? There are methods for doing that sort of thing in the Integer class.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to convert a hex or binary number to decimal and vice versa using a any java mehtod
 
Similar Threads
What's the difference
Binary conversion help
do java Api provide methods to convert number from binary to decimal or HEXA ,Octal
conversion of binary and hex to decimal and about left/right shift
Shift operators !