From: vsr Date: Tue, 23 Jun 2009 12:27:46 +0000 (+0000) Subject: Issue 0020400: EDF 1057 GEOM: Point coordinate operation gives (0,0,0) X-Git-Tag: V4_1_0_maintainance_FINAL~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=74fa3c5ed71ee7e0a8ae2e096dc0c32a6a9ed999;p=modules%2Fgeom.git Issue 0020400: EDF 1057 GEOM: Point coordinate operation gives (0,0,0) --- diff --git a/src/DlgRef/DlgRef_SpinBox.cxx b/src/DlgRef/DlgRef_SpinBox.cxx index 6e716b2be..7106c74d2 100644 --- a/src/DlgRef/DlgRef_SpinBox.cxx +++ b/src/DlgRef/DlgRef_SpinBox.cxx @@ -107,7 +107,7 @@ QString DlgRef_SpinBox::PrintDoubleValue (double theValue, int thePrecision) { const double prec = 1e-12; - if ( abs(theValue) < thePrecision) + if ( abs(theValue) < prec ) return "0"; QString aRes;