mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-14 17:48:34 +05:00
PAL7530 Incorrect coordinates of sphere's points are displaying in the "Point Coordinates"
This commit is contained in:
parent
268ed9d27f
commit
54b0cd335e
@ -106,6 +106,9 @@ void DlgRef_SpinBox::RangeStepAndValidator(double min, double max,double step,
|
||||
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