mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
Core: AsString(double) now empty for IsNull, autotest: Atof test fixed
This commit is contained in:
parent
039903de67
commit
e6d00d8697
4 changed files with 18 additions and 19 deletions
|
|
@ -57,6 +57,8 @@ String FormatDouble(double x, int precision, dword flags = FD_TOLERANCE(6)|FD_MI
|
|||
char *FormatDouble(char *t, double x);
|
||||
String FormatDouble(double x);
|
||||
|
||||
String FormatDoubleN(double x);
|
||||
|
||||
String FormatDate(Date date, const char *format, int language = 0);
|
||||
String FormatTime(Time time, const char *format, int language = 0);
|
||||
|
||||
|
|
@ -68,7 +70,7 @@ template<> inline String AsString(const long& a) { return FormatInt64
|
|||
template<> inline String AsString(const unsigned long& a) { return FormatUInt64(a); }
|
||||
template<> inline String AsString(const int64& a) { return FormatInt64(a); }
|
||||
template<> inline String AsString(const uint64& a) { return FormatUInt64(a); }
|
||||
template<> inline String AsString(const double& a) { return FormatDouble(a); }
|
||||
template<> inline String AsString(const double& a) { return FormatDoubleN(a); }
|
||||
template<> inline String AsString(const float& a) { return FormatDouble(a); }
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue