// Dump the local CS data to Python
UpdateLCSFields();
- QString aLCS = QString( "%1.SetLocalCS( %2, %3 )" ).arg( GetDocPyName() ).arg( myLX ).arg( myLY );
+ QString aLCS = QString( "%1.SetLocalCS( %2, %3 )" ).arg( GetDocPyName() ).arg( myLX, 0, 'f', 3 ).arg( myLY, 0, 'f', 3 );
if( theIsMultiFile )
aLCS.prepend( " " );
HYDROData_Tool::WriteStringsToFile( aFile, QStringList() << aLCS );
aResList << QString( "%1.SetGlobalPoints( %2," )
.arg( anImageName ).arg( aTransformationMode );
aResList << QString( aGap + "QPointF( %1, %2 )," )
- .arg( aTrsfPointA.x() ).arg( aTrsfPointA.y() );
+ .arg( aTrsfPointA.x(), 0, 'f', 3 ).arg( aTrsfPointA.y(), 0, 'f', 3 );
aResList << QString( aGap + "QPointF( %1, %2 )" )
- .arg( aTrsfPointB.x() ).arg( aTrsfPointB.y() );
+ .arg( aTrsfPointB.x(), 0, 'f', 3 ).arg( aTrsfPointB.y(), 0, 'f', 3 );
if ( !anIsByTwoPoints )
{
aResList.last().append( "," );
aResList << QString( aGap + "QPointF( %1, %2 ) )" )
- .arg( aTrsfPointC.x() ).arg( aTrsfPointC.y() );
+ .arg( aTrsfPointC.x(), 0, 'f', 3 ).arg( aTrsfPointC.y(), 0, 'f', 3 );
}
else
{