mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-01 11:50:33 +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;
|
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