Class Formats


  • public final class Formats
    extends Object
    A static utility class for formats.
    • Method Detail

      • nonGroupingNumberFormat

        public static NumberFormat nonGroupingNumberFormat()
        Returns:
        a NumberFormat instance with grouping disabled
      • nonGroupingIntegerFormat

        public static NumberFormat nonGroupingIntegerFormat()
        Returns:
        an Integer NumberFormat instance with grouping disabled
      • bigDecimalNumberFormat

        public static DecimalFormat bigDecimalNumberFormat()
        Returns:
        a BigDecimal parsing DecimalFormat