Home
last modified time | relevance | path

Searched refs:maxFrac_ (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberPropertyMapper.java271 int maxFrac_ = properties.getMaximumFractionDigits(); in oldToNew()
272 if (minInt_ == 0 && maxFrac_ == 0) { in oldToNew()
277 … macros.precision = Precision.constructSignificant(1, maxFrac_ + 1).withMode(mathContext); in oldToNew()
279 int maxSig_ = minInt_ + maxFrac_; in oldToNew()
334 int maxFrac_ = maxFrac; in oldToNew()
340 maxFrac_ = ((FractionRounderImpl) rounding_).maxFrac; in oldToNew()
344 maxFrac_ = increment_.scale(); in oldToNew()
351 exportedProperties.setMaximumFractionDigits(maxFrac_); in oldToNew()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberPropertyMapper.java270 int maxFrac_ = properties.getMaximumFractionDigits(); in oldToNew()
271 if (minInt_ == 0 && maxFrac_ == 0) { in oldToNew()
276 … macros.precision = Precision.constructSignificant(1, maxFrac_ + 1).withMode(mathContext); in oldToNew()
278 int maxSig_ = minInt_ + maxFrac_; in oldToNew()
333 int maxFrac_ = maxFrac; in oldToNew()
339 maxFrac_ = ((FractionRounderImpl) rounding_).maxFrac; in oldToNew()
343 maxFrac_ = increment_.scale(); in oldToNew()
350 exportedProperties.setMaximumFractionDigits(maxFrac_); in oldToNew()
/external/icu/icu4c/source/i18n/
Dnumber_mapper.cpp232 int maxFrac_ = properties.maximumFractionDigits; in oldToNew() local
233 if (minInt_ == 0 && maxFrac_ == 0) { in oldToNew()
238 … macros.precision = Precision::constructSignificant(1, maxFrac_ + 1).withMode(roundingMode); in oldToNew()
240 int maxSig_ = minInt_ + maxFrac_; in oldToNew()
291 int maxFrac_ = maxFrac; in oldToNew() local
297 maxFrac_ = rounding_.fUnion.fracSig.fMaxFrac; in oldToNew()
301 maxFrac_ = rounding_.fUnion.increment.fMinFrac; in oldToNew()
308 exportedProperties->maximumFractionDigits = maxFrac_; in oldToNew()