Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IFilterNumber

Hierarchy

  • IFilterNumber

Callable

  • __call(value: number | string, fractionSize?: number | string): string
  • Formats a number as text.

    Parameters

    • value: number | string
    • Optional fractionSize: number | string

      Number of decimal places to round the number to. If this is not provided then the fraction size is computed from the current locale's number formatting pattern. In the case of the default locale, it will be 3.

    Returns string

    Number rounded to decimalPlaces and places a “,” after each third digit.

Generated using TypeDoc