diff --git a/pcbnew/board_stackup_manager/class_board_stackup.cpp b/pcbnew/board_stackup_manager/class_board_stackup.cpp index 4b56afe1f2..bf3f311a6b 100644 --- a/pcbnew/board_stackup_manager/class_board_stackup.cpp +++ b/pcbnew/board_stackup_manager/class_board_stackup.cpp @@ -282,7 +282,7 @@ wxString BOARD_STACKUP_ITEM::FormatEpsilonR( int aDielectricSubLayer ) const { // return a wxString to print/display Epsilon R wxString txt; - txt.Printf( "%.1f", GetEpsilonR( aDielectricSubLayer ) ); + txt.Printf( "%.2f", GetEpsilonR( aDielectricSubLayer ) ); return txt; } diff --git a/pcbnew/board_stackup_manager/panel_board_stackup.cpp b/pcbnew/board_stackup_manager/panel_board_stackup.cpp index c688cbe172..859d3f32a5 100644 --- a/pcbnew/board_stackup_manager/panel_board_stackup.cpp +++ b/pcbnew/board_stackup_manager/panel_board_stackup.cpp @@ -442,7 +442,7 @@ void PANEL_SETUP_BOARD_STACKUP::synchronizeWithBoard( bool aFullSync ) if( item->HasEpsilonRValue() ) { wxString txt; - txt.Printf( "%.1f", item->GetEpsilonR( sub_item ) ); + txt.Printf( "%.2f", item->GetEpsilonR( sub_item ) ); wxTextCtrl* textCtrl = dynamic_cast( ui_row_item.m_EpsilonCtrl ); if( textCtrl ) @@ -697,7 +697,7 @@ BOARD_STACKUP_ROW_UI_ITEM PANEL_SETUP_BOARD_STACKUP::createRowData( int aRow, if( item->HasEpsilonRValue() ) { wxString txt; - txt.Printf( "%.1f", item->GetEpsilonR( aSublayerIdx ) ); + txt.Printf( "%.2f", item->GetEpsilonR( aSublayerIdx ) ); wxTextCtrl* textCtrl = new wxTextCtrl( m_scGridWin, wxID_ANY, wxEmptyString, wxDefaultPosition, m_numericFieldsSize ); textCtrl->SetValue( txt );