Class Precision.BogusRounder
java.lang.Object
com.ibm.icu.number.Precision
com.ibm.icu.number.Precision.BogusRounder
- Enclosing class:
Precision
Deprecated.
This API is ICU internal only.
An BogusRounder's MathContext into precision.
- Status:
- Internal. This API is ICU internal only.
-
Nested Class Summary
Nested classes/interfaces inherited from class Precision
Precision.BogusRounderModifier and TypeClassDescriptionstatic classDeprecated.This API is ICU internal only. -
Field Summary
Fields inherited from class Precision
BOGUS_PRECISIONModifier and TypeFieldDescriptionstatic final Precision.BogusRounderDeprecated.ICU internal only. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Precision
currency, fixedFraction, fixedSignificantDigits, increment, integer, maxFraction, maxSignificantDigits, minFraction, minMaxFraction, minMaxSignificantDigits, minSignificantDigits, trailingZeroDisplay, unlimited, withModeModifier and TypeMethodDescriptionstatic CurrencyPrecisioncurrency(Currency.CurrencyUsage currencyUsage) Show numbers rounded and padded according to the rules for the currency unit.static FractionPrecisionfixedFraction(int minMaxFractionPlaces) Show numbers rounded if necessary to a certain number of fraction places (numerals after the decimal separator).static PrecisionfixedSignificantDigits(int minMaxSignificantDigits) Show numbers rounded if necessary to a certain number of significant digits or significant figures.static Precisionincrement(BigDecimal roundingIncrement) Show numbers rounded if necessary to the closest multiple of a certain rounding increment.static FractionPrecisioninteger()Show numbers rounded if necessary to the nearest integer.static FractionPrecisionmaxFraction(int maxFractionPlaces) Show numbers rounded if necessary to a certain number of fraction places (numerals after the decimal separator).static PrecisionmaxSignificantDigits(int maxSignificantDigits) Show numbers rounded if necessary to a certain number of significant digits/figures.static FractionPrecisionminFraction(int minFractionPlaces) Always show at least a certain number of fraction places after the decimal separator, padding with zeros if necessary.static FractionPrecisionminMaxFraction(int minFractionPlaces, int maxFractionPlaces) Show numbers rounded if necessary to a certain number of fraction places (numerals after the decimal separator); in addition, always show at least a certain number of places after the decimal separator, padding with zeros if necessary.static PrecisionminMaxSignificantDigits(int minSignificantDigits, int maxSignificantDigits) Show numbers rounded if necessary to a certain number of significant digits/figures; in addition, always show at least a certain number of significant digits, padding with zeros if necessary.static PrecisionminSignificantDigits(int minSignificantDigits) Always show at least a certain number of significant digits/figures, padding with zeros if necessary.trailingZeroDisplay(NumberFormatter.TrailingZeroDisplay trailingZeroDisplay) Configure how trailing zeros are displayed on numbers.static PrecisionShow all available digits to full precision.withMode(MathContext mathContext) Deprecated.This API is ICU internal only.
-
Constructor Details
-
BogusRounder
Deprecated.This API is ICU internal only.Default constructor.- Status:
- Internal. This API is ICU internal only.
-
-
Method Details