Class FixedNumberFormat

java.lang.Object
java.text.Format
java.text.NumberFormat
com.inet.report.chart.format.FixedNumberFormat
All Implemented Interfaces:
ChartFormat, Serializable, Cloneable

public class FixedNumberFormat extends NumberFormat implements ChartFormat
This is a "fixed" number format.
There are three format styles available: number, percent and currency. The number style format shows the value as is.
The percent style format multiplies the values with 100 and shows the percent symbol. The currency style format shows the currency symbol.
The percent and currency symbol position is decided from locale to locale.
Since:
8.0
See Also:
  • Field Details

    • DEFAULT_NUMBER_OF_DECIMAL_PLACES

      public static final int DEFAULT_NUMBER_OF_DECIMAL_PLACES
      Default number of decimal places.
      See Also:
    • DEFAULT_USE_THOUSANDS_SEPARATOR

      public static final boolean DEFAULT_USE_THOUSANDS_SEPARATOR
      Default using of thousands separator.
      See Also:
    • DEFAULT_ABBREVIATION

      public static final Abbreviation DEFAULT_ABBREVIATION
      The default abbreviation.
    • MINUS_SIGN_BEFORE

      public static final int MINUS_SIGN_BEFORE
      Minus symbol is placed before number.
      See Also:
    • MINUS_SIGN_AFTER

      public static final int MINUS_SIGN_AFTER
      Minus symbol is placed after number.
      See Also:
    • MINUS_SIGN_BRACKETS

      public static final int MINUS_SIGN_BRACKETS
      Use brackets instead of minus.
      See Also:
    • MINUS_SIGN_SYSTEM_DEFAULT

      public static final int MINUS_SIGN_SYSTEM_DEFAULT
      Use system default pattern for negative values.
      See Also:
    • FORMAT_NUMBER

      public static final int FORMAT_NUMBER
      The number format style
      See Also:
    • FORMAT_PERCENT

      public static final int FORMAT_PERCENT
      The percent format style
      See Also:
    • FORMAT_CURRENCY

      public static final int FORMAT_CURRENCY
      The currency format style
      See Also:
  • Constructor Details

  • Method Details