Core: FormatDouble precision increased to 16 digits

git-svn-id: svn://ultimatepp.org/upp/trunk@5694 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-01-01 13:42:07 +00:00
parent 98eb608598
commit 4cd6491bc2

View file

@ -171,7 +171,7 @@ String Format64Hex(uint64 a)
String FormatInteger(int a) { return IsNull(a) ? String() : FormatInt(a); }
String FormatUnsigned(unsigned long a) { return Sprintf("%u", a); }
String FormatDouble(double a) { return IsNull(a) ? String() : IsNaN(a) ? "?" : FormatDouble(a, 10, FD_REL); }
String FormatDouble(double a) { return IsNull(a) ? String() : IsNaN(a) ? "?" : FormatDouble(a, 17, FD_REL); }
String FormatBool(bool a) { return a ? "true" : "false"; }
String FormatPtr(const void *p) { return "0x" + FormatHex(p); }