mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 01:58:36 +05:00
PAL7530 Incorrect coordinates of sphere's points are displaying in the "Point Coordinates"
This commit is contained in:
parent
268ed9d27f
commit
54b0cd335e
@ -107,6 +107,9 @@ QString DlgRef_SpinBox::PrintDoubleValue (double theValue, int thePrecision)
|
||||
{
|
||||
const double prec = 1e-12;
|
||||
|
||||
if ( abs(theValue) < thePrecision)
|
||||
return "0";
|
||||
|
||||
QString aRes;
|
||||
aRes.setNum(theValue, 'g', thePrecision);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user