/1. Write a hexadecimal number (e.g. 2A) \ | 2. Confirm | \3. You get the decimal equivalent (In the example, 42) / Hello and welcome to the least-scripted hexadecimal-decimal calculator! It works exactly like a real calculator by ONLY 2 SCRIPTS! Yes, you heard it, I'm never kidding! (proof: see inside)
Thanks to scratch wiki for the exponent workaround next to the text: https://en.scratch-wiki.info/wiki/Operators_Blocks#Suggestions How it works: It changes the result variable by (x*(16^p)) Note: It only counts the hexadecimal digits (0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F) , any other digits are'nt counted (2G is counted 20hex, so plz know it will say it equals 32) Note 2: The digits (A,B,C,D,E,F) should be capitalized, or else it won't be counted.