Uses of Class
com.ibm.icu.number.FractionPrecision

Packages that use FractionPrecision
Package
Description
Library for localized number formatting introduced in ICU 60; for usage, see com.ibm.icu.number.NumberFormatter.
  • Uses of FractionPrecision in com.ibm.icu.number

    Methods in com.ibm.icu.number that return FractionPrecision
    Modifier and Type
    Method
    Description
    Precision.fixedFraction(int minMaxFractionPlaces)
    Show numbers rounded if necessary to a certain number of fraction places (numerals after the decimal separator).
    Precision.integer()
    Show numbers rounded if necessary to the nearest integer.
    Precision.maxFraction(int maxFractionPlaces)
    Show numbers rounded if necessary to a certain number of fraction places (numerals after the decimal separator).
    Precision.minFraction(int minFractionPlaces)
    Always show at least a certain number of fraction places after the decimal separator, padding with zeros if necessary.
    Precision.minMaxFraction(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.