mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-05 22:30:34 +05:00
PAL7530 Incorrect coordinates of sphere's points are displaying in the "Point Coordinates"
This commit is contained in:
parent
10bf139e7d
commit
377961f078
@ -752,6 +752,9 @@ QString DlgRef::PrintDoubleValue( double theValue, int thePrecision )
|
|||||||
{
|
{
|
||||||
const double prec = 1e-12;
|
const double prec = 1e-12;
|
||||||
|
|
||||||
|
if ( abs(theValue) < thePrecision)
|
||||||
|
return "0";
|
||||||
|
|
||||||
QString aRes;
|
QString aRes;
|
||||||
aRes.setNum( theValue, 'g', thePrecision );
|
aRes.setNum( theValue, 'g', thePrecision );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user