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:
@@ -470,7 +470,7 @@ bool wxVariantDataReal::Write(wxSTD ostream& str) const
|
|||||||
|
|
||||||
bool wxVariantDataReal::Write(wxString& str) const
|
bool wxVariantDataReal::Write(wxString& str) const
|
||||||
{
|
{
|
||||||
str.Printf(wxT("%.4f"), m_value);
|
str.Printf(wxT("%.14g"), m_value);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user