Conversion.Hex Method (Object)
Returns a string representing the hexadecimal value of a number.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
If Number is not already a whole number, it is rounded to the nearest whole number before being evaluated.
If Number is
Any numeric value
Up to sixteen hexadecimal characters
You can represent hexadecimal numbers directly by preceding numbers in the proper range with &H. For example, &H10 represents decimal 16 in hexadecimal notation.
Available since 1.1
Available since 2.0