Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfbyte2hex()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfByte2Hex()
Converts a number value to hex decimal
------------------------------------------------------------------------------
Syntax:

     dfByte2Hex(<nNum>) --> cHex

Parameters:

     <nNum>     Number to convert. 0 <= nNum <= 255

Returns:

     <cHex> converted Value

Description:

     Converts a number to hex decimal.  The value must be inclusive between
     0 and 255 respectably

Example:

     ? dfByte2Hex(0)       // " 00 "
     ? dfByte2Hex(16)      // " 10 "
     ? dfByte2Hex(255)     // " FF "

See also:

     dfHex2Dec(), dfLong2Hex()

See Also: dfHex2Dec() dfLong2Hex()

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