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>dfhex2dec()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfHex2Dec()
Converts a hexadecimal number into a decimal one
------------------------------------------------------------------------------
Syntax:

     dfHex2Dec( <cHex> ) --> nDecimal

Parameters:

     <cHex>     Hexadecimal number to convert

Returns:

     <nDecimal> Corresponding decimal number

Description:

     Converts a hexadecimal number into a decimal one

Example:

     ? dfHex2Dec( "FF"   )  // Returns   255
     ? dfHex2Dec( "01"   )  //    "        1
     ? dfHex2Dec( "A0"   )  //    "      160
     ? dfHex2Dec( "FFFF" )  //    "    65535
     ? dfHex2Dec( "FE3"  )  //    "     4067

See also:

     dfBin2Num(), dfDec2Hex()

See Also: dfBin2Num() dfDec2Hex()

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