Solved Convert QString hex to Float
-
Hello is there any function that can convert QString hex to Float directly. If it isn't can you help with tips to do it fast?
-
Hi
Did you try
QString::toDouble() ? -
@mrjj it doesn't support Hexadecimal conversion to float.
-
@Babs Please clarify "QString hex". Best would be to give an example of your input data and what you expect to get out of it.
Regards
-
Hi
Also this might be interesting
https://forum.qt.io/topic/98725/convert-hex-to-double -
Thanks you all . I found the solution from @aha_1980 github
https://github.com/andre-hartmann/IEEE754 -
@Babs So please mark this topic as SOLVED then. Thanks!