Options
All
  • Public
  • Public/Protected
  • All
Menu

An OptionsProvider implementation that handles both Standard Numeric Format Specifiers and Custom Numeric Format String. The type of the returned options object is an extended version of Intl.NumberFormat's options parameter.

Hierarchy

  • IntlOptionsProvider

Implements

Index

Constructors

constructor

Properties

Private options_

options_: NumberFormatOptions

Methods

getInternalDecorators

getMaximumFractionDigits

  • getMaximumFractionDigits(): number

getMaximumSignificantDigits

  • getMaximumSignificantDigits(): number

getMinimumExponentDigits

  • getMinimumExponentDigits(): number

getMinimumFractionDigits

  • getMinimumFractionDigits(): number

getMinimumIntegerDigits

  • getMinimumIntegerDigits(): number

getMinimumSignificantDigits

  • getMinimumSignificantDigits(): number

getPrefixDecorator

  • getPrefixDecorator(): string

getStyle

  • getStyle(): string

getSuffixDecorator

  • getSuffixDecorator(): string

getValueDivisor

  • getValueDivisor(): number

hasNoDigits

  • hasNoDigits(): boolean

hasNoLeadingZeroIntegerDigit

  • hasNoLeadingZeroIntegerDigit(): boolean

isNegativellySignedExponent

  • isNegativellySignedExponent(): boolean

isUpperCase

  • isUpperCase(): boolean

resolveOptions

  • resolveOptions(format: string, value: number): NumberFormatOptions

useGrouping

  • useGrouping(): boolean

Generated using TypeDoc