src/types.cpp

changeset 508
7ace3537a560
parent 504
6a1fa662bfc1
child 513
29eb671b34f6
--- a/src/types.cpp	Wed Oct 16 23:07:59 2013 +0300
+++ b/src/types.cpp	Wed Oct 16 23:20:35 2013 +0300
@@ -219,7 +219,7 @@
 	{	if (i > 0)
 			val += ' ';
 
-		val += ftoa (m_vals[i]);
+		val += str::number (m_vals[i]);
 	}
 
 	return val;
@@ -282,11 +282,11 @@
 }
 
 StringFormatArg::StringFormatArg (const float& v)
-{	m_val = ftoa (v);
+{	m_val = str::number (v);
 }
 
 StringFormatArg::StringFormatArg (const double& v)
-{	m_val = ftoa (v);
+{	m_val = str::number (v);
 }
 
 StringFormatArg::StringFormatArg (const vertex& v)

mercurial