Strip comas from a Spice value
This commit is contained in:
parent
920cf09ac1
commit
16fec4d73e
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue