Tell me what you want, What you really, really want.

Moderator: Mmiscool

User avatar
By AndyGadget
#37773 I'd like to see the opposite of the HEX function. i.e. to convert a hex value to a decimal value.
I've done this in my cheerlights program with a bit of string fiddling, but a single command would be greatly appreciated.
User avatar
By Mmiscool
#37800 Just did a new build including the
hextoint() function.

It takes a hex string and converts it to a decimal value

example:
Code: Select allprint hextoint("FF)