From 3c51964c5755abe61df413c2be36d7ea8eec87fa Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Mon, 29 Mar 2021 11:35:21 +0200 Subject: [PATCH] drill report: use more digits in float values for diameters. (Use same resolution in map and rpt files) --- pcbnew/exporters/gen_drill_report_files.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/exporters/gen_drill_report_files.cpp b/pcbnew/exporters/gen_drill_report_files.cpp index f8657c8fdc..832ce8a0e2 100644 --- a/pcbnew/exporters/gen_drill_report_files.cpp +++ b/pcbnew/exporters/gen_drill_report_files.cpp @@ -482,7 +482,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 ) );