File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

octal and hexa representation

 
Argm Mastoi
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
Why do we need to use octal numbers' and hexa numbers' representation in java?
not clear with their usage and assignment too.
 
sabbir kazi
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may use the following syntax:
String DectoOct = Integer.toOctalString(Integer.parseInt(decimal));
String DectoHex = Integer.toHexString(Integer.parseInt(decimal));
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic