• Post Reply Bookmark Topic Watch Topic
  • New Topic

need help in conversion  RSS feed

 
Murali Jaya Rao
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a ascii representation as I001 and now i want to convert into hexadecimal representation.how can i do this in java?is there any method available?
Regards,
Murali
 
kumar reddi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think these methids will you
"toHexString()
Integer.parseInt(HexString,16)"
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!