Skip to content

Commit

Permalink
change to 17 decimals
Browse files Browse the repository at this point in the history
Co-authored-by: Loïc Bartoletti <lbartoletti@users.noreply.github.com>
  • Loading branch information
2 people authored and nyalldawson committed Oct 1, 2024
1 parent 88ad7cb commit b130896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsvectorlayerdigitizingproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ QgsVectorLayerDigitizingPropertiesPage::QgsVectorLayerDigitizingPropertiesPage(
mGeometryPrecisionLineEdit->setValidator( new QDoubleValidator( mGeometryPrecisionLineEdit ) );

const double precision( vlayer->geometryOptions()->geometryPrecision() );
QString precisionStr( QLocale().toString( precision, 'g', 15 ) );
QString precisionStr( QLocale().toString( precision, 'g', 17 ) );
if ( precision == 0.0 )
precisionStr = QString();
mGeometryPrecisionLineEdit->setText( precisionStr );
Expand Down

0 comments on commit b130896

Please sign in to comment.