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>dec2hex() - convert decimal value to hexadecimal string</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     dec2hex() - convert decimal value to hexadecimal string
  Usage:    <string> = dec2hex(<integer>)
  Params:   an integer in the range 0 - 65535
  Returns:  a string containing the hexadecimal representation of
            the integer passed.

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

                 ? dec2hex(65535)
                 * prints "FFFF"

                 ? dec2hex(255)
                 * prints "00FF"


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

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