Package mondrian.util

Class Format.AlternateFormat

  • Enclosing class:
    Format

    static class Format.AlternateFormat
    extends Format.BasicFormat
    AlternateFormat is an implementation of Format.BasicFormat which allows a different format to be used for different kinds of values. If there are 4 formats, purposes are as follows:
    1. positive numbers
    2. negative numbers
    3. zero
    4. null values

    If there are fewer than 4 formats, the first is used as a fall-back. See the the visual basic format specification for more details.