From 654056ee40c6c7b4f78075b20d10f5142e45611a Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 7 Mar 2006 14:52:33 +0000 Subject: [PATCH] Increase precision of variant conversion to string git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/variant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/variant.cpp b/src/common/variant.cpp index b9139f68a9..2c540d3f3c 100644 --- a/src/common/variant.cpp +++ b/src/common/variant.cpp @@ -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; } -- 2.45.2