Index

Constructor methods

Properties

Methods

Constructor methods

constructor(languages: IIterable, geographicRegion: string): PercentFormatter

Parameters

  • languages: IIterable
  • geographicRegion: string

Returns

PercentFormatter

constructor(): PercentFormatter

Returns

PercentFormatter

Properties

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