• The abbreviateNumber utility converts a number to a shorter localized form.

    Example

    abbreviateNumber(1234);
    // "1.2K"

    Parameters

    • number: number

    Returns string

Generated using TypeDoc v0.23.24