Page 1 of 1

Binary - hexadecimal - decimal converter

Posted: Thu Jul 24, 2014 6:33 pm
by KG_is_back
A little module I've made that is very useful in development. Lets you convert between those 3 number formats quickly within FS. It is very useful in coding as it lets you calculate bitwise masks, shufps control bytes and many more directly within FS workflow.

Note, if someone could add floating point format to the game, it would be very appreciated.

Re: Binary - hexadecimal - decimal converter

Posted: Thu Jul 24, 2014 7:33 pm
by trogluddite
Always handy! :)

Here's one that I use quite often - doesn't display all the values like yours, just a quick alternative to an integer box when you want to enter values in hex, binary etc. (needs an input side really, like the normal one - I'll have a look into that).

BTW - There's something seriously wrong with the forum search engine. I knew damned well that I had posted that schematic - searched for "integer", "conversion" etc. - never showed up in any of the searches, even though the words are obviously in the post. No wonder we're forever losing so much useful stuff!

PS - I have some Ruby stuff from elsewhere for seeing Float bit patterns etc. - I'll see if I can find it and wrap a GUI around it.

Re: Binary - hexadecimal - decimal converter

Posted: Thu Jul 24, 2014 10:53 pm
by Nubeat7
thanks guys, some needful things!

i think the hex to float and float to hex converters i did in ruby would fit in here as well
(watch also here viewtopic.php?f=3&t=2508)

there are array conversions and a single conversion inside the schematic


and yes the search engine is horrible, i never find some of my older threads for example try to find my ruby knob viewtopic.php?f=3&t=641 in the search engine!