[Gambas-user] does exit a instruction to convert hexadecimal to decimal?

roberto.premoli at tiscali.it roberto.premoli at tiscali.it
Wed Sep 27 21:29:05 CEST 2023


  Hello,
I use hex$ to convert decimal to hexadecimal, and it
works

But I ave also the opposite need, to convert a HEXacecimal value
into a DECimal value but it seems does not exist a "DEC$"

I can write
my own routine that elaborate the string (i.e. "EA") and return the
equivalent inter decimal 234, but it will be better to use the gambas
instruction, , if it exist.
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230927/eac705f3/attachment.htm>


More information about the User mailing list