Share via


NumberFormatOutput interface

The number format.

Properties

availableLocales

The number format.

currency

The currency.

currencyInstance

The number format.

groupingUsed

Determines if grouping is used.

instance

The number format.

integerInstance

The number format.

maximumFractionDigits

The maximum of fraction digits.

maximumIntegerDigits

The maximum of integer digits.

minimumFractionDigits

The minimum of fraction digits.

minimumIntegerDigits

The minimum of integer digits.

numberInstance

The number format.

parseIntegerOnly

Determines if only integer is parsed.

percentInstance

The number format.

roundingMode

The enum of rounding mode.

Possible values: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", "UNNECESSARY"

Property Details

availableLocales

The number format.

availableLocales?: string[]

Property Value

string[]

currency

The currency.

currency?: string

Property Value

string

currencyInstance

The number format.

currencyInstance?: NumberFormatOutput

Property Value

groupingUsed

Determines if grouping is used.

groupingUsed?: boolean

Property Value

boolean

instance

The number format.

instance?: NumberFormatOutput

Property Value

integerInstance

The number format.

integerInstance?: NumberFormatOutput

Property Value

maximumFractionDigits

The maximum of fraction digits.

maximumFractionDigits?: number

Property Value

number

maximumIntegerDigits

The maximum of integer digits.

maximumIntegerDigits?: number

Property Value

number

minimumFractionDigits

The minimum of fraction digits.

minimumFractionDigits?: number

Property Value

number

minimumIntegerDigits

The minimum of integer digits.

minimumIntegerDigits?: number

Property Value

number

numberInstance

The number format.

numberInstance?: NumberFormatOutput

Property Value

parseIntegerOnly

Determines if only integer is parsed.

parseIntegerOnly?: boolean

Property Value

boolean

percentInstance

The number format.

percentInstance?: NumberFormatOutput

Property Value

roundingMode

The enum of rounding mode.

Possible values: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", "UNNECESSARY"

roundingMode?: string

Property Value

string