Skip to content
Permalink
Browse files

[composer] Increase precision of exported worldfiles (fix #13895)

  • Loading branch information
nyalldawson committed Nov 29, 2015
1 parent 3b2d717 commit 65b6171277012acedb9e9f3d519d877e0f64cd51
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/app/composer/qgscomposer.cpp
@@ -4037,12 +4037,12 @@ void QgsComposer::writeWorldFile( const QString& worldFileName, double a, double

// QString::number does not use locale settings (for the decimal point)
// which is what we want here
fout << QString::number( a, 'f' ) << "\r\n";
fout << QString::number( d, 'f' ) << "\r\n";
fout << QString::number( b, 'f' ) << "\r\n";
fout << QString::number( e, 'f' ) << "\r\n";
fout << QString::number( c, 'f' ) << "\r\n";
fout << QString::number( f, 'f' ) << "\r\n";
fout << QString::number( a, 'f', 12 ) << "\r\n";
fout << QString::number( d, 'f', 12 ) << "\r\n";
fout << QString::number( b, 'f', 12 ) << "\r\n";
fout << QString::number( e, 'f', 12 ) << "\r\n";
fout << QString::number( c, 'f', 12 ) << "\r\n";
fout << QString::number( f, 'f', 12 ) << "\r\n";
}


0 comments on commit 65b6171

Please sign in to comment.
You can’t perform that action at this time.