Just Sharing This Decimal to Hex & VV conversions

jeallen01

jeallen01

Specialist Contributor
Messages
3,924
My Satellite Setup
See Signature
My Location
Somewhere in England (possibly?)!
Evening

I'm sure someone posted something like this somewhere at sometime, but here goes:

For "various reasons" I want to convert strings of hexadecimal numbers like (completely random with no significance at all :D) "99 08 86 27 E4 66" to decimal, or VV, I could use my hand-calculator, or an online converter programme to do that - one group at a time, and that's very laborious, time-consuming and prone to errors (especially by me!).

Therefore I looked for a online programme that will convert the complete string in one shot - and, after quite a number of false leads, I found this one which appears to do just what I would need for various "useful numbers"

Any thoughts, or alternatives?
 
Lazarus

Lazarus

Tout Rond Bon Oeuf
Staff member
Messages
25,594
My Satellite Setup
80cm Motorised.
Several small Dishes.
Much else.
My Location
North York Moors
Beads.

Lots of them, in a variety of pretty colours.
 
jeallen01

jeallen01

Specialist Contributor
Messages
3,924
My Satellite Setup
See Signature
My Location
Somewhere in England (possibly?)!
Beads.

Lots of them, in a variety of pretty colours.
Won't work well - I'm partially colour-blind, and I have difficulty counting in "large numbers" :D
 
mickwig

mickwig

Regular Member
Messages
236
My Satellite Setup
240cm Raven Offset, Invacomm Quad LNB;
120 cm Kathrein PF Polarmount, Kathrein Quattro LNB
90cm Astra1 dish;
Samsung LED TV with built-in DVB-S, Panasonic BlueRay Rec with Twin-Tuner, Panasonic BSkyB-Box 1.Generation; TBS5925 USB Card
My Location
49.77N;11.41E Pottenstein, Germany
You could just use the Windoes calculator. In programming view you can just convert hex into dez or bin.
 
A

Archive-8

Guest
This might help

h**p://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=HextoDecConversion
 
jeallen01

jeallen01

Specialist Contributor
Messages
3,924
My Satellite Setup
See Signature
My Location
Somewhere in England (possibly?)!
You could just use the Windoes calculator. In programming view you can just convert hex into dez or bin.
Thanks - hadn't thought of that but now had a look. However, it looks like you have to manually enter the number, digit by digit, to be converted before it is converted, whereas on the site to which I pointed you just copy and paste it from "wherever" and hit the Decode button, and then copy the result back to "wherever".
 
jeallen01

jeallen01

Specialist Contributor
Messages
3,924
My Satellite Setup
See Signature
My Location
Somewhere in England (possibly?)!
h**p://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=HextoDecConversion
Since that also refers to using the Windoze Calculator then it seems to have the same issues as I mentioned in response to mickwig's post.
 
Terryl

Terryl

Specialist Contributor
Messages
2,400
My Satellite Setup
OpenBox X5 on a 1 meter motorized dish.
And now a 10 foot "C" band dish.

Custom built PC
My Location
Deep in the Boonies in the central Sierra Nevada mountains of California.
Won't work well - I'm partially colour-blind, and I have difficulty counting in "large numbers" :D
Instead of colored beads use black and white marbles like I do, but don't too big a file as you can loose your marbles like I did when I tried to decode about 50,000 lines of hex.
 
jeallen01

jeallen01

Specialist Contributor
Messages
3,924
My Satellite Setup
See Signature
My Location
Somewhere in England (possibly?)!
Instead of colored beads use black and white marbles like I do, but don't too big a file as you can loose your marbles like I did when I tried to decode about 50,000 lines of hex.
Think I lost mine decades ago, which probably explains some of my inane posts here (and this may explain the current ones :D)
 
Channel Hopper

Channel Hopper

Suffering fools, so you don't have to.
Staff member
Messages
28,297
My Satellite Setup
A little less analogue, and a lot more crap.
My Location
UK South
Evening

I'm sure someone posted something like this somewhere at sometime, but here goes:

For "various reasons" I want to convert strings of hexadecimal numbers like (completely random with no significance at all :D) "99 08 86 27 E4 66" to decimal, or VV, I could use my hand-calculator, or an online converter programme to do that - one group at a time, and that's very laborious, time-consuming and prone to errors (especially by me!).

Therefore I looked for a online programme that will convert the complete string in one shot - and, after quite a number of false leads, I found this one which appears to do just what I would need for various "useful numbers"

Any thoughts, or alternatives?
Have you tried one of those artificial intelligence machines, Siri , Alexa or Cortana to verify if they can read out an answer ?
 
jeallen01

jeallen01

Specialist Contributor
Messages
3,924
My Satellite Setup
See Signature
My Location
Somewhere in England (possibly?)!
Have you tried one of those artificial intelligence machines, Siri , Alexa or Cortana to verify if they can read out an answer ?
Sounds like I would still have to "write the answer down" - instead of just copying it to "wherever". And, FWIW, don't want to get "involved" with "intelligent bots" until/unless I REALLY have to, which is not, I hope, YET!
 
Channel Hopper

Channel Hopper

Suffering fools, so you don't have to.
Staff member
Messages
28,297
My Satellite Setup
A little less analogue, and a lot more crap.
My Location
UK South
Ah, I didn't understand this was to be absolutely autonomous.

Excel could be your friend then.
Dec2hex function and vice versa
 
jeallen01

jeallen01

Specialist Contributor
Messages
3,924
My Satellite Setup
See Signature
My Location
Somewhere in England (possibly?)!
Ah, I didn't understand this was to be absolutely autonomous.
Excel could be your friend then.
Dec2hex function and vice versa
As is my "wont" I hadn't thought of that either, but then again I'm not an EXCEL "expert" (just the very basic stuff - enough to keep a list of all my sources of income in order to do my tax returns - although I was a little more proficient a few years ago).

So, can you help with where I should start (in EXCEL 2010)?

OTOH it is probably something like shown here: DEC2HEX function - Office Support (and, presumably, there is another function to perform the reverse)
 
Last edited:
mickwig

mickwig

Regular Member
Messages
236
My Satellite Setup
240cm Raven Offset, Invacomm Quad LNB;
120 cm Kathrein PF Polarmount, Kathrein Quattro LNB
90cm Astra1 dish;
Samsung LED TV with built-in DVB-S, Panasonic BlueRay Rec with Twin-Tuner, Panasonic BSkyB-Box 1.Generation; TBS5925 USB Card
My Location
49.77N;11.41E Pottenstein, Germany
For a complete set of numbers try MS Excel: HEXINDEZ, HEXINBIN or DEZINHEX, DEZINBIN. You can jus copy a row of numbers and then copy and paiste the formula. Althoung in the english version the formula might be slightly different.
 
Channel Hopper

Channel Hopper

Suffering fools, so you don't have to.
Staff member
Messages
28,297
My Satellite Setup
A little less analogue, and a lot more crap.
My Location
UK South
As is my "wont" I hadn't thought of that either, but then again I'm not an EXCEL "expert" (just the very basic stuff - enough to keep a list of all my sources of income in order to do my tax returns - although I was a little more proficient a few years ago).

So, can you help with where I should start (in EXCEL 2010)?
You think I'm an Excel expert ?:-lol
 
A

archive10

Guest
Evening

I'm sure someone posted something like this somewhere at sometime, but here goes:

For "various reasons" I want to convert strings of hexadecimal numbers like (completely random with no significance at all :D) "99 08 86 27 E4 66" to decimal, or VV, I could use my hand-calculator, or an online converter programme to do that - one group at a time, and that's very laborious, time-consuming and prone to errors (especially by me!).

Therefore I looked for a online programme that will convert the complete string in one shot - and, after quite a number of false leads, I found this one which appears to do just what I would need for various "useful numbers"

Any thoughts, or alternatives?
Converting hexadeciaml to decimal (and the other way around) is programmatically dead easy.
It's just a matter of packaging this in a tool.

So let me get this straight: You need to copy a string consisting of two-digit hexadecimal values separated by white-space into an equivalent string of decimal values separated by white-space. The input string must be pasted from somewhere else (ahem), and the output needs to be copied for pasting into something else (ahem).
I assume all this happens in Windows 7,8, or 10.
Errors in the hexadecimal input string will simply yield 0 values in the decimal string.

If that is what you need, I can slap something together wihtin a day or two that does the above, once I've swapped a working PSU into my old development PC...
 
jeallen01

jeallen01

Specialist Contributor
Messages
3,924
My Satellite Setup
See Signature
My Location
Somewhere in England (possibly?)!
@st1
If that is what you need, I can slap something together wihtin a day or two that does the above, once I've swapped a working PSU into my old development PC...
Many thanks for the offer (and it would be run on a W7 or W10 machine) - could be useful, but not sure if it is worth your effort because the site I pointed to in Post #3 actually already appears to do that successfully.
 
Top