diff --git a/eeschema/sim/spice_value.cpp b/eeschema/sim/spice_value.cpp index 0d4cd25289..b4f1d9130c 100644 --- a/eeschema/sim/spice_value.cpp +++ b/eeschema/sim/spice_value.cpp @@ -218,6 +218,6 @@ void SPICE_VALUE::stripZeros( wxString& aString ) while( aString.EndsWith( '0' ) ) aString.RemoveLast(); - if( aString.EndsWith( '.' ) ) + if( aString.EndsWith( '.' ) || aString.EndsWith( ',' ) ) aString.RemoveLast(); }