ok, final one line solution is:
QString str= QString("%1").arg(data, 5, 'f',2, '0');
its working.
ok, final one line solution is:
QString str= QString("%1").arg(data, 5, 'f',2, '0');
its working.
Rajesh Kumar Singh
Bangalore, India.
Qt Search
Must Watch:
See how we can connect digital world objects to our day to day life….
Bookmarks