Increase precision of variant conversion to string

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2006-03-07 14:52:33 +00:00
parent fe4cb4f5ea
commit 654056ee40

View File

@ -470,7 +470,7 @@ bool wxVariantDataReal::Write(wxSTD ostream& str) const
bool wxVariantDataReal::Write(wxString& str) const
{
str.Printf(wxT("%.4f"), m_value);
str.Printf(wxT("%.14g"), m_value);
return true;
}