This week's book giveaway is in the Testing forum.We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line!See this thread for details.
Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!

# decimal ->octal & decimal ->hexadecimal

geetha nagarajan
Ranch Hand
Posts: 94
How to convert a decimal value ,to octal /hexadecimal?

Corey McGlone
Ranch Hand
Posts: 3271
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
Could someone explain that with an example,pl?
Thanks.

Francisco A Guimaraes
Ranch Hand
Posts: 182
if you still have doubts after this, please let me know.
Francisco

Corey McGlone
Ranch Hand
Posts: 3271
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
Thanks a lot,got it.
Ya,will use the search facility more often from now on.