digit or special character ($, %, #, etc.) is represented in binary code. Fortunately, there are only two methods in wide use: EBCDIC and ASCII. IBM's mainframes and midrange systems use EBCDIC.