From: srit Date: Thu, 17 Mar 2011 18:39:09 +0000 (+0000) Subject: Display values of two images and their difference in the same way instead of rounding... X-Git-Tag: v1.2.0~161 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=6764ab075c799e9cdbf63e246f734c9be391199e;p=clitk.git Display values of two images and their difference in the same way instead of rounding to the second decimal --- diff --git a/vv/vvOverlayPanel.cxx b/vv/vvOverlayPanel.cxx index 7611623..ac981a7 100644 --- a/vv/vvOverlayPanel.cxx +++ b/vv/vvOverlayPanel.cxx @@ -149,8 +149,8 @@ void vvOverlayPanel::getCurrentOverlayInfo(int visibility,double valueOver, doub QString diffValue = "Pixel difference : "; if (visibility) { refValue += QString::number(valueRef); - overlayValue += QString::number(valueOver,'f',1); - diffValue += QString::number(valueRef - valueOver,'f',1); + overlayValue += QString::number(valueOver); + diffValue += QString::number(valueRef - valueOver); } refValueLabel->setText(refValue); valueLabel->setText(overlayValue);