it's kind of notation, use
and you will see what you wantQt Code:
qDebug( "%f", your_variable );To copy to clipboard, switch view to plain text mode
it's kind of notation, use
and you will see what you wantQt Code:
qDebug( "%f", your_variable );To copy to clipboard, switch view to plain text mode
Thanks for your help.
You help-me to understand the process.
Now I'm using this:
QLocale locale;
locale.setDefault(QLocale::German); // Decimal point is Comma: 000.000,00
locale.setNumberOptions(QLocale::OmitGroupSeparato r);
bool ok;
double d;
d = locale.toDouble( LE_TEST->text(), &ok );
if(ok) {
qDebug( "%f", d );
}
The LE_TEST is using inputMask: 999.999.999,99
Thanks
Bookmarks