sim: fixed build errors & locale issues
This commit is contained in:
parent
7406aad8ea
commit
ec1b8be528
|
@ -29,6 +29,7 @@
|
||||||
#include <wx/dynlib.h>
|
#include <wx/dynlib.h>
|
||||||
#include <wx/log.h>
|
#include <wx/log.h>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
#include <stdexcept>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
|
|
@ -116,7 +116,7 @@ wxString SPICE_VALUE::ToString() const
|
||||||
|
|
||||||
wxString SPICE_VALUE::ToSpiceString() const
|
wxString SPICE_VALUE::ToSpiceString() const
|
||||||
{
|
{
|
||||||
wxString res = wxString::Format( "%f", m_base );
|
wxString res = wxString::FromCDouble( m_base );
|
||||||
stripZeros( res );
|
stripZeros( res );
|
||||||
|
|
||||||
switch( m_prefix )
|
switch( m_prefix )
|
||||||
|
|
Loading…
Reference in New Issue