Interface String

Index

Methods

Methods

public format(formatString: string, value: string): string

Parameters

  • formatString: string
  • value: string

Returns

string

public format(formatString: string, value: number): string

Parameters

  • formatString: string
  • value: number

Returns

string

public formatCurrency(value: number): string

Parameters

  • value: number

Returns

string

public formatDate(date: Date, format?: string): string

Parameters

  • date: Date
  • format?: string optional

Returns

string

public formatDecimal(value: number, locale?: string, pattern?: string): string

Parameters

  • value: number
  • locale?: string optional
  • pattern?: string optional

Returns

string

public formatTime(date: Date, format?: string): string

Parameters

  • date: Date
  • format?: string optional

Returns

string