Hello everyone, I am taking the text Tuesday... I can not find any info on how to convert a decimal to an Octal or Hex. I understand how to convert an Octal or Hex to decimal. Could someone shed some light on this for me? Thanks!
a short cut way to convert decimal to Hex or Oct lets convert decimal 300 to Hex --- 300/16 result->18 Rest ->12 write rest in Hex -> C 18/16 result->1 Rest ->2 Write rest in Hex -> 2 1/16 result ->0 Rest ->1 Write rest in Hex -> 1 resverse hex digits thus obtained ie ->12C hence 300(decimal) = 12C (Hex) similarly replace 16 with 8 to convert to octal Cheers.. Vinita
Joined: Apr 12, 2002
Thanks for the help guys, that info should do the trick. Thanks
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com