Page 1 of 1

HxD: Simple hexadecimal <-> decimal converter

Posted: 24 Apr 2008 18:10
by DieHexfee
Hi all,

Another feature request:
What do you think about a small Hexadecimal <-> Decimal converter?
Maybe as a small window like in WinHex:
hexdecimalconverterqh6.png
hexdecimalconverterqh6.png (3.07 KiB) Viewed 15159 times
You type a HEX value in the left box, press ENTER and get the result as decimal in the right box.
Decimal to HEX works the other way round.

I think this would be a great help having such a feature built in.


Edit(Maël): Attached image, so we don't get a bad link in future.

Posted: 27 Apr 2008 13:54
by Maël
I'll consider a feature like that. Thanks for the suggestion.

Re: HxD: Simple hexadecimal <-> decimal converter

Posted: 19 Jul 2008 12:34
by rc-flitzer
Hello!
First of all: great tool! It's the best using (and looking) hex editor I've ever seen for Windows. Thanks for developing (and still doing). :)

I have a request that is similar to this thread. Of course a simple hex/dec converter would be great, but for those purpose I already have a shortcut for Windows' calc.exe: with F5/F6 you can convert between hex/dec. But a built-in converter could use the selected bytes as preset entry.
Because it happens often that I just want to know, which value (in decimal) a sequence of bytes have, it would be great to have an additional field in status line that shows it without explicit user interaction. For example I have a byte sequence "44 A5". Then I simply mark them with cursor and get the answer: 17573 decimal. Or (better) if I configured "little endian" it would be 42308.
I made a little picture to show you what I think of:
hxdvalue2sv1.png
hxdvalue2sv1.png (19.08 KiB) Viewed 15160 times
Maybe you could add this little supporting function. Configuring little/big endian (or at least only little endian). But this function should only calculate up to a sequence of 8 or 16 bytes. More bytes are not likely to be used as an integer value. ;)
(Additional idea: show float values, but this would be more effort to develop. I could help if needed.)

Edit: Forget to link the picture.

Edit(Maël): Attached image, so we don't get a bad link in future.

Re: HxD: Simple hexadecimal <-> decimal converter

Posted: 20 Jul 2008 03:51
by Maël
What you describe is what the data inspector will do plus the editing capability. See also my comment in the data inspector thread.