Adiil:
DavidOConnor:
ASCII code is binaryASCII code is HEXA*
It is both. One 8-bit memory location can store an ASCII character. Let's look at the character '6'. Is it ASCII? hexadecimal?binary? decimal? octal?
Answer: It is all of these. It is one value, and all of those are nothing more than different ways of representing the value.
It is:
ASCII: '6'
Hexadecimal: 36
Binary: 00110110
Decimal: 54
Octal: 066
So you see, we really need to kow exactly what you want to "convert", and what you want to "convert" it to.
I put the quotes around convert, because the real question is; What value do you have, and how do you want to display it?