Hi @all,
i have a QLineEdit and want the text converted to a double, so I do:
Now the output would be: QVariant(double, 1.23457e+08)Qt Code:
lineEdit->setText("123456789"); qDebug() << val; . . . lineEdit2->setText(val.toString());To copy to clipboard, switch view to plain text mode
And also the value in lineEdit2 is "1.23457e+08"
How can I avoid the exponentials?
Thanks in advance
Best Regards
NoRulez
Bookmarks