Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • IntlStandardOptionsProvider

Implements

Index

Constructors

constructor

Properties

Private options_

options_: NumberFormatOptions

Private precision_

precision_: number

Private specifier_

specifier_: string

Private style_

style_: string

Methods

resolveOptions

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

Private tryInitializeSpecifierOptions_

  • tryInitializeSpecifierOptions_(format: string): boolean

Object literals

Private resolvers_

resolvers_: object

roundTrip

roundTrip: function

Type declaration

    • (): T
    • Returns T

currency

  • currency(): void

decimal

  • decimal(): void

exponential

  • exponential(): void

fixedPoint

  • fixedPoint(): void

general

  • general(): void

hex

  • hex(): void

number

  • number(): void

percent

  • percent(): void

Generated using TypeDoc