HxD: Simple hexadecimal <-> decimal converter

Wishlists for new functionality and features.
Post Reply
DieHexfee
Posts: 4
Joined: 24 Apr 2008 17:21

HxD: Simple hexadecimal <-> decimal converter

Post by DieHexfee » 24 Apr 2008 18:10

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 10670 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.

Maël
Site Admin
Posts: 1160
Joined: 12 Mar 2005 14:15

Post by Maël » 27 Apr 2008 13:54

I'll consider a feature like that. Thanks for the suggestion.

rc-flitzer
Posts: 3
Joined: 19 Jul 2008 12:09

Re: HxD: Simple hexadecimal <-> decimal converter

Post by rc-flitzer » 19 Jul 2008 12:34

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 10671 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.

Maël
Site Admin
Posts: 1160
Joined: 12 Mar 2005 14:15

Re: HxD: Simple hexadecimal <-> decimal converter

Post by Maël » 20 Jul 2008 03:51

What you describe is what the data inspector will do plus the editing capability. See also my comment in the data inspector thread.

Post Reply