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