• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

decimal ->octal & decimal ->hexadecimal

 
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How to convert a decimal value ,to octal /hexadecimal?
 
Ranch Hand
Posts: 3271
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by geetha nagarajan:
How to convert a decimal value ,to octal /hexadecimal?


Convert that decimal value to binary. From there, it's very easy to convert to octal or hex.
If you need examples, do a search in this forum - there are gobs of them.
Corey
 
geetha nagarajan
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could someone explain that with an example,pl?
Thanks.
 
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
look at this thread
if you still have doubts after this, please let me know.
Francisco
 
Corey McGlone
Ranch Hand
Posts: 3271
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by geetha nagarajan:
Could someone explain that with an example,pl?
Thanks.


Use the search facility. Here are some threads I uncovered:
number converstion between(decimal, octal, Hex)
Binary, Octal, and Hex
Hexidecimal and octal question!!
Conversion of binary to Hex and Octal State
Using search would provide you with an immediate answer. Otherwise, you might have to wait a while (possibly hours) before someone replies to your message. Don't be afraid to search for what you want. This forum has been around a while - there's lots out there to search through.
Corey
 
geetha nagarajan
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot,got it.
Ya,will use the search facility more often from now on.
reply
    Bookmark Topic Watch Topic
  • New Topic