Searched refs:hasDec (Results 1 - 2 of 2) sorted by relevance
/base/global/i18n_lite/frameworks/i18n/include/ |
H A D | number_format_impl.h | 44 int DelMoreZero(const StyleData &style, int decLen, int lastLen, bool hasDec, char *&result) const;
45 std::string InnerFormat(double num, bool hasDec, bool isShowGroup, bool isPercent, int &status) const;
49 void AddGroup(char *targetAndSource[], const int len[], const char *decimal, bool hasDec, int decLen) const;
|
/base/global/i18n_lite/frameworks/i18n/src/ |
H A D | number_format_impl.cpp | 124 std::string NumberFormatImpl::InnerFormat(double num, bool hasDec, bool isShowGroup, bool isPercent,
in InnerFormat() argument 149 bool adjustHasDec = isPercentDefault ? false : hasDec;
in InnerFormat() 209 int NumberFormatImpl::DelMoreZero(const StyleData &style, int decLen, int lastLen, bool hasDec, char *&result) const
in DelMoreZero() argument 222 if (hasDec && (minDecimalLength != NO_SET) && (minDecimalLength > decLen - 1 - num)) {
in DelMoreZero() 281 bool hasDec, int decLen) const
in AddGroup() 320 target[addIndex] = hasDec ? '.' : '\0';
in AddGroup() 322 target[addIndex + j] = hasDec ? decimal[j] : '\0';
in AddGroup() 280 AddGroup(char *targetAndSource[], const int len[], const char *decimal, bool hasDec, int decLen) const AddGroup() argument
|
Completed in 2 milliseconds