]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Issue 0020400: EDF 1057 GEOM: Point coordinate operation gives (0,0,0)
authorvsr <vsr@opencascade.com>
Tue, 23 Jun 2009 12:27:46 +0000 (12:27 +0000)
committervsr <vsr@opencascade.com>
Tue, 23 Jun 2009 12:27:46 +0000 (12:27 +0000)
src/DlgRef/DlgRef_SpinBox.cxx

index 6e716b2be5385af3a5dd6eaa0b1c3f372c3b1cde..7106c74d2b1d99a334bd06330d4daa73ca58d77f 100644 (file)
@@ -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;