Qt Centre Forum
>
Qt
>
Newbie
> convert qreal to qstring
PDA
View Full Version :
convert qreal to qstring
eva2002
29th January 2010, 02:45
hi all,
how to convert qreal to qstring so that I can set it to qlabel.
vishwajeet.dusane
29th January 2010, 05:47
Hi,
use
QString QString::number ( double n, char format = 'g', int precision = 6 )
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.