Hai

I have a QString in Hex Format. I want to convert into float.

how to do this?

i tried something

Qt Code:
  1. QString strA="0x3F4CCCCD";
  2. float valueA;
  3. valueA=strA.toFloat(true);
  4. qDebug("%f",valueA);
To copy to clipboard, switch view to plain text mode 

I am geting 0.

pl help me


suree
Bangalore