Tue, 19 Mar 2013 18:15:31 +0200
er, I said don't limit the amount of decimals
misc.cpp | file | annotate | diff | comparison | revisions |
--- a/misc.cpp Tue Mar 19 18:14:37 2013 +0200 +++ b/misc.cpp Tue Mar 19 18:15:31 2013 +0200 @@ -72,7 +72,7 @@ // turn into anything weird (like commas) setlocale (LC_NUMERIC, "C"); - str zRep = str::mkfmt ("%.6f", fCoord); + str zRep = str::mkfmt ("%f", fCoord); // Remove trailing zeroes while (zRep[~zRep - 1] == '0')