[Gambas-user] How to convert hexadecimal string to Int or Byte?

T Lee Davidson t.lee.davidson at gmail.com
Mon Apr 12 20:37:16 CEST 2021


I have some text data with hex values represented as, for example, "0xF4".

Neither CInt nor CByte seem to recognize "0xF4" or "&HF4" as a hexadecimal representation.

How do I convert a hexadecimal string to an actual number?


-- 
Lee


More information about the User mailing list