QString data; float num = data.toFloat();
float num = 1.11111; QString data = QString(“%1”).arg(num);