Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>num2bin() - convert an integer to 16 bit binary string</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     num2bin() - convert an integer to 16 bit binary string
  Usage:    <string> = num2bin(<integer>)
  Params:   integer in the range 0 - 65535
  Returns:  a string filled with 1's and 0's that represent the
            binary value of the integer passed.

 ---------------------------------- Example ---------------------------------

                 ? num2bin(65535)
                 * prints "1111111111111111"

                 ? num2bin(10)
                 * prints "0000000000001010"


See Also: bin2num() hex2dec() dec2hex() byte2bin()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson