I want to write "8989898.89" from a lineedit to my database. I use the code:

Qt Code:
  1. double databasevar=0;
  2. databasevar = ui->lineEdit_input->text().toDouble();
  3. ...
  4. sql insert ...
  5. ...
To copy to clipboard, switch view to plain text mode 

after the insert i have in my database the value "8989900.00" -> "8.9899e+06".
how do i deactivate the exponential translation that kills the last digits.

Can someone help me pls