Home
last modified time | relevance | path

Searched refs:maxDecimalLength (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/global/i18n_lite/frameworks/i18n/src/
H A Dnumber_format_impl.cpp217 if ((maxDecimalLength != NO_SET) && (maxDecimalLength < decLen - 1 - num)) { in DelMoreZero()
218 int delNum = decLen - 1 - num - maxDecimalLength; in DelMoreZero()
399 maxDecimalLength = adjustValue; in SetMaxDecimalLength()
411 if ((maxDecimalLength >= 0) && (maxDecimalLength < adjustValue)) { in SetMinDecimalLength()
412 maxDecimalLength = adjustValue; in SetMinDecimalLength()
413 defaultData->SetMaxDecimalLength(maxDecimalLength); in SetMinDecimalLength()
H A Dnumber_data.cpp279 style.maxDecimalLength = length; in SetMaxDecimalLength()
357 if (style.maxDecimalLength < 0) { in GetNumberFormatLength()
360 return style.maxDecimalLength; in GetNumberFormatLength()
362 if (style.maxDecimalLength < 0) { in GetNumberFormatLength()
365 return style.maxDecimalLength; in GetNumberFormatLength()
/ohos5.0/base/global/i18n_lite/frameworks/i18n/include/
H A Dnumber_data.h37 int maxDecimalLength = -1; member
94 int maxDecimalLength = -1; variable
H A Dnumber_format_impl.h41 int maxDecimalLength = -1; variable