George Neil
22nd October 2009, 07:08
double dValue = 0.00200;
QString strValue = QString::number(dValue, 'e', 1);
The strValue is getting as 2.0e-03
I don't want the preceding zeros in the exponent part. How can i do that ?
QString strValue = QString::number(dValue, 'e', 1);
The strValue is getting as 2.0e-03
I don't want the preceding zeros in the exponent part. How can i do that ?