Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Convert these HEX numbers into ASCII...?

I want to convert HEX to ASCII:

06H

0AH

23H

How to do it???

Update:

No no... I didn't mean HEX to DECIMAL... I wanted to convert HEX to ASCII... And one of my friends told me this logic:

Add 30H to the number if the num is smaller than 0AH

Or else add 37H to the number if it is greater than or equal to 0AH.

Is this correct?

So, the answers come:

HEX--------->ASCII

06H=>06 + 30 = 36 (ASCII)

0AH=>0A + 37 = 41

23H=>23 + 37= 5A

Please tell...

4 Answers

Relevance
  • Anonymous
    1 decade ago
    Favorite Answer

    HEX (Hexadecimal) is base-16. Like binary is base-2 and octal is base-8. I learned this in school, don't they teach this stuff any more?

    You can use a calculator of course, the Windows one has it built in, but if if you need to do it by hand then it's not hard.

    06 means "zero sixteens and 6 ones" = 6

    0A means "zero sixteens and 1 ten" (A=10) = 10

    23 means "2 sixteens and 3 ones" = 35

    For more info: http://en.wikipedia.org/wiki/Hexadecimal

  • 1 decade ago

    I dont know exactly, but this may help you if nothing goes=

    I assume that HEX to ASCII is similar to HEX to DECIMAL

    You may use Windows Calculator.

    Goto View, and select Scientific from the menu.

    Select "Hex"

    Type the number (avoid leading zeroes and trailing "h"s)

    means,

    06H > 6

    0AH > A

    23H > 23

    then click on "Dec" to know there decimal value.

  • doug a
    Lv 5
    1 decade ago

    use the calculator in windows and then change the view to scientific it has a hex convertor on it.

Still have questions? Get your answers by asking now.