qt qString do podwójnego
QString str = "1234.56";
double val = str.toDouble(); // val == 1234.56
Sorann
QString str = "1234.56";
double val = str.toDouble(); // val == 1234.56
double valueAsDouble = 1.2;
QString valueAsString = QString::number(valueAsDouble);