pazzokli Active Member Licensed User Longtime User Jul 30, 2021 #1 Hi, I've a string like "22" that is a number in HEX. How to convert in number HEX (0x22) ? Thanks
agraham Expert Licensed User Longtime User Jul 30, 2021 #2 Bit.ParseInt("22", 16) or use the internal ByteConverter library Upvote 0
Jeffrey Cameron Well-Known Member Licensed User Longtime User Jul 30, 2021 #3 B4X: Dim poInt As Int = Bit.ParseInt("22", 16) Upvote 0
pazzokli Active Member Licensed User Longtime User Jul 30, 2021 #4 agraham said: Bit.ParseInt("22", 16) or use the internal ByteConverter library Click to expand... Hello, it's work! Thanks a lot agraham! Thanks to Jeffrey also! Upvote 0
agraham said: Bit.ParseInt("22", 16) or use the internal ByteConverter library Click to expand... Hello, it's work! Thanks a lot agraham! Thanks to Jeffrey also!