• Format a number value, separated into its individual parts Intended for limited use. Consider creating a NumberFormatter object when formatting numbers in bulk.

    Parameters

    • value: number

      The value to format

    • numberOptions: NumberOptions

      Options to apply to the formatter, including locale

    Returns NumberFormatPart[]

    An ordered array of objects representing the parts of the formatted number, each with a type and value

Generated using TypeDoc