| Author |
Message |
Zordon
Joined: 23 Oct 2006 Posts: 6
|
Posted: March 11, 2007 7:35 PM Post subject: Conversions Binary to Hexa... |
|
|
| Does anyone know of a conversion program i can use to be able to convert binary to decimal to hexa to ASCII and all sorts of combinations? I would be very helpful. |
|
| Back to top |
|
 |
mark
Joined: 24 Feb 2007 Posts: 27
|
Posted: March 11, 2007 8:17 PM Post subject: |
|
|
you can just use the built in ones
use the >bin >hex >dec commands all you need to do to convert to binary
for example is type in your number in standard then use >bin after it to convert to binary
"54>bin" returns "0b110110"
the 0b (that a zero not a letter o) and 0h you can put in front of any number to signify that it is hex or binary
and then use the >dec command to turn back into decimal "0b110110" returns "54"
that help? |
|
| Back to top |
|
 |
Zordon
Joined: 23 Oct 2006 Posts: 6
|
Posted: March 11, 2007 9:00 PM Post subject: |
|
|
| yes man its a big help but it doesn't work with fractions when you use a decimal. for example when you try to convert the decimal number 12.75 to binary it comes up with an error. |
|
| Back to top |
|
 |
mark
Joined: 24 Feb 2007 Posts: 27
|
Posted: March 11, 2007 9:02 PM Post subject: |
|
|
| hmm as far as i know there is no simple way to display a fraction in binary, im not the most knowledgable on this though |
|
| Back to top |
|
 |
|