Hi ,

I have to convert a string to a double value , my string is inside a QByteArray :

Qt Code:
  1. QByteArray myStr = "50.123456";
  2. double myDouble = myStr.toDouble();
To copy to clipboard, switch view to plain text mode 

it will return 50.12346 , I need exact value , how to fix this problem ?

Best Regards,
Amir .