mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-10 03:54:54 -06:00
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:
parent
98eb608598
commit
4cd6491bc2
1 changed files with 1 additions and 1 deletions
|
|
@ -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); }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue