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

@ -751,6 +751,9 @@ DlgRef_Skeleton::~DlgRef_Skeleton()
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 );