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 FractionPrecisionModifier and TypeMethodDescriptionstatic FractionPrecisionPrecision.fixedFraction(int minMaxFractionPlaces) Show numbers rounded if necessary to a certain number of fraction places (numerals after the decimal separator).static FractionPrecisionPrecision.integer()Show numbers rounded if necessary to the nearest integer.static FractionPrecisionPrecision.maxFraction(int maxFractionPlaces) Show numbers rounded if necessary to a certain number of fraction places (numerals after the decimal separator).static FractionPrecisionPrecision.minFraction(int minFractionPlaces) Always show at least a certain number of fraction places after the decimal separator, padding with zeros if necessary.static FractionPrecisionPrecision.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.