Sample Header Ad - 728x90

Covert from literal HEX value to INT MariaDB

0 votes
1 answer
809 views
I have a situation where i need to get the integer value from a literal hex. Example: "ff" equals 255 in decimal, but if i use the HEX("ff") function it returns 6666. Is it possible to get it to return 255? Like a=10, b=11... and so on Thank you
Asked by Adelina Andreea trandafir (3 rep)
Jun 5, 2022, 02:01 PM
Last activity: Jun 5, 2022, 02:57 PM