ICU-3549 add toString(int32_t)
X-SVN-Rev: 15039
This commit is contained in:
parent
fa27757571
commit
bb1db7b923
@ -178,6 +178,11 @@ UnicodeString toString(const Formattable& f) {
|
||||
|
||||
#endif
|
||||
|
||||
// useful when operator+ won't cooperate
|
||||
UnicodeString toString(int32_t n) {
|
||||
return UnicodeString() + (long)n;
|
||||
}
|
||||
|
||||
// stephen - cleaned up 05/05/99
|
||||
UnicodeString operator+(const UnicodeString& left, char num)
|
||||
{ return left + (long)num; }
|
||||
|
@ -41,6 +41,7 @@ UnicodeString operator+(const UnicodeString& left, unsigned int num);
|
||||
UnicodeString operator+(const UnicodeString& left, float num);
|
||||
#if !UCONFIG_NO_FORMATTING
|
||||
UnicodeString toString(const Formattable& f); // liu
|
||||
UnicodeString toString(int32_t n);
|
||||
#endif
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user