Drill map report: use more digits in float values for diameters.
This commit is contained in:
parent
1737927814
commit
b76c5c9433
|
@ -250,7 +250,7 @@ bool GENDRILL_WRITER_BASE::genDrillMapFile( const wxString& aFullFileName,
|
|||
plotter->Marker( wxPoint( x, y ), plot_diam, ii );
|
||||
|
||||
// List the diameter of each drill in mm and inches.
|
||||
sprintf( line, "%2.2fmm / %2.3f\" ",
|
||||
sprintf( line, "%3.3fmm / %2.4f\" ",
|
||||
diameter_in_mm( tool.m_Diameter ),
|
||||
diameter_in_inches( tool.m_Diameter ) );
|
||||
|
||||
|
@ -440,7 +440,7 @@ unsigned GENDRILL_WRITER_BASE::printToolSummary( OUTPUTFORMATTER& out, bool aSum
|
|||
// List the tool number assigned to each drill,
|
||||
// in mm then in inches.
|
||||
int tool_number = ii+1;
|
||||
out.Print( 0, " T%d %2.2fmm %2.3f\" ", tool_number,
|
||||
out.Print( 0, " T%d %2.3fmm %2.4f\" ", tool_number,
|
||||
diameter_in_mm( tool.m_Diameter ),
|
||||
diameter_in_inches( tool.m_Diameter ) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue