Home
last modified time | relevance | path

Searched refs:minDecimalLength (Results 1 - 4 of 4) sorted by relevance

/base/global/i18n_lite/frameworks/i18n/src/
H A Dnumber_format_impl.cpp131 bool isPercentDefault = isPercent && (defaultData->style.minDecimalLength < 0); in InnerFormat()
222 if (hasDec && (minDecimalLength != NO_SET) && (minDecimalLength > decLen - 1 - num)) { in DelMoreZero()
224 int add = minDecimalLength + 1; in DelMoreZero()
236 int add = minDecimalLength - decLen + num + 1; in DelMoreZero()
395 if ((minDecimalLength >= 0) && (minDecimalLength > adjustValue)) { in SetMaxDecimalLength()
396 minDecimalLength = adjustValue; in SetMaxDecimalLength()
415 minDecimalLength = adjustValue; in SetMinDecimalLength()
H A Dnumber_data.cpp228 style.minDecimalLength = length; in SetMinDecimalLength()
356 if (style.minDecimalLength < 0) { in GetNumberFormatLength()
363 return (style.minDecimalLength > style.decLen) ? style.minDecimalLength : style.decLen; in GetNumberFormatLength()
/base/global/i18n_lite/frameworks/i18n/include/
H A Dnumber_data.h38 int minDecimalLength = -1; member
H A Dnumber_format_impl.h42 int minDecimalLength = -1; member in OHOS::I18N::NumberFormatImpl

Completed in 3 milliseconds