public static enum NFMT.Format extends Enum<NFMT.Format> implements INumberEnum<Byte>
| Enum Constant and Description |
|---|
CURRENCY
The appropriate currency symbol will be displayed with the number.
|
FIXED
The number displayed will contain to the right of the decimal point the number of digits specified in the NFMT.Digits
structure member.
|
GENERAL
Only the significant digits in a number will be displayed; leading zeroes and trailing zeroes will be stripped.
|
SCIENTIFIC
The number will be displayed in scientific notation.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getLongValue() |
Byte |
getValue() |
static NFMT.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NFMT.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NFMT.Format GENERAL
public static final NFMT.Format FIXED
public static final NFMT.Format SCIENTIFIC
public static final NFMT.Format CURRENCY
public static NFMT.Format[] values()
for (NFMT.Format c : NFMT.Format.values()) System.out.println(c);
public static NFMT.Format 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 nullpublic long getLongValue()
getLongValue in interface INumberEnum<Byte>longpublic Byte getValue()
getValue in interface INumberEnum<Byte>Copyright © 2019–2021 HCL. All rights reserved.