J
Jorge Eldis
Hi
How to convert this code to C#?
HexToLong(ByVal sHex As String) As Long
HexToLong = Val("&H" & sHex & "&")
End FunctionLa
I have equivalent function but it not return the same value.
static long hextolong(string hexValue)
{
return long.Parse(hexValue,
System.Globalization.NumberStyles.AllowLeadingWhite);
}
Thanks
Jorge Eldis
How to convert this code to C#?
HexToLong(ByVal sHex As String) As Long
HexToLong = Val("&H" & sHex & "&")
End FunctionLa
I have equivalent function but it not return the same value.
static long hextolong(string hexValue)
{
return long.Parse(hexValue,
System.Globalization.NumberStyles.AllowLeadingWhite);
}
Thanks
Jorge Eldis