Uses of Class
com.ibm.icu.number.IntegerWidth
Packages that use IntegerWidth
Package
Description
Library for localized number formatting introduced in ICU 60; for usage, see com.ibm.icu.number.NumberFormatter.
-
Uses of IntegerWidth in com.ibm.icu.number
Methods in com.ibm.icu.number that return IntegerWidthModifier and TypeMethodDescriptionIntegerWidth.truncateAt
(int maxInt) Truncate numbers exceeding a certain number of numerals before the decimal separator.static IntegerWidth
IntegerWidth.zeroFillTo
(int minInt) Pad numbers at the beginning with zeros to guarantee a certain number of numerals before the decimal separator.Methods in com.ibm.icu.number with parameters of type IntegerWidthModifier and TypeMethodDescriptionNumberFormatterSettings.integerWidth
(IntegerWidth style) Specifies the minimum and maximum number of digits to render before the decimal mark.