You would like to display the binary representation of an integer, or the integer representation of a binary value. You might want to do this if you were displaying non-textual data, such as what you get from interacting with certain system programs and functions.
Use the string->integer and integer->string built in functions.
Each of these functions takes an optional radix argument, which can
be used to determine what number base to use for the output (or which base to use for conversion to a numerical value).