public static enum NumberFormatter.TrailingZeroDisplay extends Enum<NumberFormatter.TrailingZeroDisplay>
Enum.EnumDesc<E extends Enum<E>>| Enum Constant and Description |
|---|
AUTO
Display trailing zeros according to the settings for minimum fraction and significant digits.
|
HIDE_IF_WHOLE
Same as AUTO, but hide trailing zeros after the decimal separator if they are all zero.
|
| Modifier and Type | Method and Description |
|---|---|
static NumberFormatter.TrailingZeroDisplay |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NumberFormatter.TrailingZeroDisplay[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumberFormatter.TrailingZeroDisplay AUTO
public static final NumberFormatter.TrailingZeroDisplay HIDE_IF_WHOLE
public static NumberFormatter.TrailingZeroDisplay[] values()
public static NumberFormatter.TrailingZeroDisplay valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null