PAL7530 Incorrect coordinates of sphere's points are displaying in the "Point Coordinates"

This commit is contained in:
dmv 2009-01-23 13:14:12 +00:00
parent 10bf139e7d
commit 377961f078

View File

@ -752,6 +752,9 @@ QString DlgRef::PrintDoubleValue( double theValue, int thePrecision )
{
const double prec = 1e-12;
if ( abs(theValue) < thePrecision)
return "0";
QString aRes;
aRes.setNum( theValue, 'g', thePrecision );