*You might need to press the green flag 2-3 times to reset the calculator... This is my first attempt of a binary calculator. It wasnt that hard=/ I just need to recode it to make it more efficient... Anyways...this is a binary calculator. It will convert the numbers 0 - 255 (8-bits) with more or less a simple script (or 2) Of course, the program will not eliminate leading zeroes, since i just used the variables as the display. The binary result will be displayed at the bottom...it works pretty well when i did it. The concept is simple: take the hundreds digit x 100; 10s by 10; add both together with the ones digit. Then slowly work down a binary chart to turn on certain bits (the variables) and produce your result!
*Ya...you actually dont have to press space...forgot about that, heheh=D
Comments
You need to be logged in to post comments
Add a Comment
Nice! How about an error message if you go larger than the largest allowable value?
(view all replies)Comment Reply