Function numAbbr

  • Abbreviates a number

    Example

    numAbbr(1e3);
    => "1k"

    Parameters

    • a: number

      A number

    • Optional suppliedAbbreviations: string[]

      Optional custom abbreviations

    Returns string

Generated using TypeDoc