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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
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
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14274
    
  21

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 8 API documentation
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39436
    
  28
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.
 
wood burning stoves
 
subject: how to convert a hex or binary number to decimal and vice versa using a any java mehtod