double str,str1,str2;
QString csv = "0.23589,0.2847,0.0089";
str = csv.section(',',0, 0).trimmed().toDouble();
qDebug() << str << endl;
str1 = csv.section(',', 1, 1).trimmed().toDouble();
qDebug() << str1 << endl;
str2 = csv.section(',', 2, 2).trimmed().toDouble();
qDebug() << str2 << endl;
//输出结果为str=0.23589,str1=0.2847,str2=0.0089