Unsolved Convert from hex string to decimal string
-
Is there an easy way to convert from a string containing a hex value like
"0A02"
to a string with its decimal value:
"2562"
-
Hi
somehing like
http://doc.qt.io/qt-5.5/qstring.html#toUInt
with base=16, maybe ? -
@mrjj
.. returns an uint ... and then reconvert to a string ?
OK, that of course works in 2-steps. I was wondering if there is something like a 1-step conversion.
Thanks anyway