The options for creating an intl number format function.

interface IOptions {
    locales?: string | string[];
    missing?: string;
    options?: NumberFormatOptions;
}

Properties

locales?: string | string[]

The locales to pass to the Intl.NumberFormat constructor.

The default is determined by the user agent.

missing?: string

The text to use for a null or undefined data value.

The default is ''.

options?: NumberFormatOptions

The options to pass to the Intl.NumberFormat constructor.

The default is determined by the user agent.