base-formatter
    Preparing search index...

    Interface BaseFormatterOnlyOptionsInternal

    The options specifically to the BaseFormatter class.

    interface BaseFormatterOnlyOptions {
        digitSeparator?: string;
        fractionPadCharacter?: string;
        groupingLength?: number;
        groupingSeparator?: string;
        integerPadCharacter?: string;
        minimumFractionLength?: number;
        minimumIntegerLength?: number;
        negativeSign?: string;
        positiveSign?: string;
        radixCharacter?: string;
        radixDisplay?: RadixDisplay;
        scientificNotationCharacter?: string;
        signDisplay?: SignDisplay;
        useGrouping?: UseGrouping;
    }

    Hierarchy (View Summary)

    Index

    Properties

    digitSeparator?: string

    The digit separator, if specified, will be places between every digit without a grouping separator.

    ''

    fractionPadCharacter?: string

    The fraction pad character, padding the right side of the fraction. By default the specified digit for zero is used, but could also be a ' ' space char for example.

    null

    groupingLength?: number

    The grouping length, the distance between grouping separators, e.g. with a length of 2: 1,00,00,00.

    3

    groupingSeparator?: string

    The grouping separator, such as the commas in 100,000,000.

    ','

    integerPadCharacter?: string

    The integer pad character, padding the left side of the integer. By default the specified digit for zero is used, but could also be a ' ' space char for example.

    null

    minimumFractionLength?: number

    The minimum fraction. A value with a smaller fraction length than this number will be right-padded with zeros.

    0

    minimumIntegerLength?: number

    The minimum integer length. A value with a smaller number of integer digits than this number will be left-padded with zeros or the specified integer pad character.

    0

    negativeSign?: string

    The negative sign.

    '-'

    positiveSign?: string

    The positive sign.

    '+'

    radixCharacter?: string

    The radix character, or "decimal" point/mark/separator, such as the point in 0.5).

    '.'

    radixDisplay?: RadixDisplay

    When to display the radix character.

    'auto'

    scientificNotationCharacter?: string

    The scientific notation character, such as the e in 1.342e3.

    'e'

    signDisplay?: SignDisplay

    When to display the sign.

    'auto'

    useGrouping?: UseGrouping

    When numbers are to be grouped.

    false