Hi all,

This is a section of my app which is a calculator in Qt:

Qt Code:
  1. QTextStream (&ss) << expression(); // expression() return a double value
  2. result_box -> setText(ss); // result_box is a lineEdit
To copy to clipboard, switch view to plain text mode 


When I type 10^6 and the function expression() returns that value, in result_box the scientific notation of it will be shown, 1e+06!

How to do to make the app show the result in decimal, 1000000 rather than that scientific notation please?