Press 1, 2 or 3 to switch between Binary, Hex and Octal. Press Enter to input a new number. Invalid inputs evaluate to 0. Simple, 2 operator block method of converting binary, hex or octal to denary (decimal). This uses JavaScript's string syntax for binar, hex and octal (read about at https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Numbers_and_strings). Most operator blocks (e.g. round, add - this is what I used) can be used to make Scratch interpret these strings as they would be in JavaScript.
I doubt this is very useful in any projects, but it's just a cool thing I guess.