📜  qt qstring to double - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:45.319000             🧑  作者: Mango

代码示例1
QString str = "1234.56";
double val = str.toDouble();   // val == 1234.56