Index

Constructor methods

Properties

Methods

Constructor methods

constructor(currencyCode: string): CurrencyFormatter

Parameters

  • currencyCode: string

Returns

CurrencyFormatter

constructor(currencyCode: string, languages: IIterable, geographicRegion: string): CurrencyFormatter

Parameters

  • currencyCode: string
  • languages: IIterable
  • geographicRegion: string

Returns

CurrencyFormatter

Properties

public currency: string

public fractionDigits: number

public geographicRegion: string

public integerDigits: number

public isDecimalPointAlwaysDisplayed: boolean

public isGrouped: boolean

public languages: IVectorView

public numeralSystem: string

public resolvedGeographicRegion: string

public resolvedLanguage: string

Methods

public format(value: number): string

Parameters

  • value: number

Returns

string

public formatDouble(value: number): string

Parameters

  • value: number

Returns

string

public formatInt(value: number): string

Parameters

  • value: number

Returns

string

public formatUInt(value: number): string

Parameters

  • value: number

Returns

string

public parseDouble(text: string): number

Parameters

  • text: string

Returns

number

public parseInt(text: string): number

Parameters

  • text: string

Returns

number

public parseUInt(text: string): number

Parameters

  • text: string

Returns

number