sim: fixed build errors & locale issues

This commit is contained in:
Tomasz Wlostowski 2016-08-11 14:41:58 +02:00 committed by Maciej Suminski
parent 7406aad8ea
commit ec1b8be528
2 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@
#include <wx/dynlib.h>
#include <wx/log.h>
#include <sstream>
#include <stdexcept>
using namespace std;

View File

@ -116,7 +116,7 @@ wxString SPICE_VALUE::ToString() const
wxString SPICE_VALUE::ToSpiceString() const
{
wxString res = wxString::Format( "%f", m_base );
wxString res = wxString::FromCDouble( m_base );
stripZeros( res );
switch( m_prefix )