devxlogo

Hex2Dec – Convert from hexadecimal to decimal

Hex2Dec – Convert from hexadecimal to decimal

' convert from hexadecimal to decimalFunction HexToDec(ByVal value As String) As Long    ' we just need a call to the Convert.ToInt64 static method    Return Convert.ToInt64(value, 16)End Function

devx-admin

Share the Post: