1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-20 09:31:15 +02:00

Increase precision for doubles/string conversion

Required so that the Select: command has reasonable precision
on tracks longer than 17 minutes.
This commit is contained in:
Steve Daulton
2018-10-23 19:55:15 +01:00
parent df3c2a7b2f
commit d716b61b1e
2 changed files with 3 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ public:
virtual bool DoWriteDouble(const wxString & key, double value) override
{
return DoWriteString(key, wxString::Format(wxT("%g"), value));
return DoWriteString(key, wxString::Format(wxT("%.8g"), value));
}
bool ReadFloat(const wxString & key, float *pf) const