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:
parent
fe4cb4f5ea
commit
654056ee40
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user