Strip comas from a Spice value

This commit is contained in:
Maciej Suminski 2016-08-11 14:41:54 +02:00
parent 920cf09ac1
commit 16fec4d73e
1 changed files with 1 additions and 1 deletions

View File

@ -218,6 +218,6 @@ void SPICE_VALUE::stripZeros( wxString& aString )
while( aString.EndsWith( '0' ) ) while( aString.EndsWith( '0' ) )
aString.RemoveLast(); aString.RemoveLast();
if( aString.EndsWith( '.' ) ) if( aString.EndsWith( '.' ) || aString.EndsWith( ',' ) )
aString.RemoveLast(); aString.RemoveLast();
} }