Universal Integer Translator
Posted: Sun Apr 21, 2013 1:26 pm
Hi All,
While I was tinkering with Skull's MIDI gadgets, I realised how much I hate converting hex numbers!
So I made this little 'Universal Integer' box that lets you type in values in decimal, hex, octal or binary and just get the integer straight out without having to use the dreaded Windows calculator!
To make it even easier to use, it's made so that it doesn't care about the case of letters, and you can put whitespace anywhere within number to separate out the digits - there are a load of examples in the schematic.
The conversion is all handled by a single Ruby code block inside, so feel free to pull that out to use with your own custom edit boxes etc.
While I was tinkering with Skull's MIDI gadgets, I realised how much I hate converting hex numbers!
So I made this little 'Universal Integer' box that lets you type in values in decimal, hex, octal or binary and just get the integer straight out without having to use the dreaded Windows calculator!
To make it even easier to use, it's made so that it doesn't care about the case of letters, and you can put whitespace anywhere within number to separate out the digits - there are a load of examples in the schematic.
The conversion is all handled by a single Ruby code block inside, so feel free to pull that out to use with your own custom edit boxes etc.