Decimal
Syntax:
Function Dec(ByVal Hex As String) As Long
Parameters:
Name Type Description
Hex
String
Remarks:
The Dec method returns the conversion of a hexadecimal value into decimal notation. Decimal notation is a numerical system based on groups of ten units. The highest value you can convert is 7FFFFFFF.
Examples:
In the following code example, x equals 2599.
x& = DEC("A27")