MAIDR JavaScript API
    Preparing search index...

    Variable defaultFormatConst

    defaultFormat: FormatFunction = ...

    Default format function - converts value to string. Strings pass through unchanged. A number of DEFAULT_GROUPING_THRESHOLD or more has its digits grouped in threes with commas (12,345), the default for every axis that declares no format; a declared format replaces it.

    A fractional number is rounded as defaultLabelFormat describes. The commas are always , with . for decimals, whatever the reader's language, matching the decimal point this format has always used; an author whose readers expect another convention declares a number format with a locale.

    The value to format

    String representation of the value