How do you convert hex to decimal using VB.NET?

后端 未结 9 1819
自闭症患者
自闭症患者 2020-12-11 03:04

I need to convert hex to a decimal in VB.NET. Found several examples in C#, but when I tried to convert to VB.NET I was not successful. An example of a hexadecimal number th

9条回答
  •  误落风尘
    2020-12-11 03:11

    Tried the others replies and this was the one that worked for me:

        Convert.ToInt32(yourHEXString, 16)
    

    Documentation

提交回复
热议问题