Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

qt qstring to double

QString str = "1234.56";
double val = str.toDouble();   // val == 1234.56
Source by doc.qt.io #
 
PREVIOUS NEXT
Tagged: #qt #qstring #double
ADD COMMENT
Topic
Name
6+4 =