Skip to main content

LocaleCurrencyNamePipe

LocaleCurrencyNamePipe

Displays a human-readable name for a given ISO 4217 currency code.

Example

{{ order.currencyCode | localeCurrencyName }}
Signature
class LocaleCurrencyNamePipe extends LocaleBasePipe implements PipeTransform {
constructor(dataService?: DataService, changeDetectorRef?: ChangeDetectorRef)
transform(value: any, display: 'full' | 'symbol' | 'name' = 'full', locale?: unknown) => any;
}
  • Extends: LocaleBasePipe

  • Implements: PipeTransform

constructor

method
(dataService?: DataService, changeDetectorRef?: ChangeDetectorRef) => LocaleCurrencyNamePipe

transform

method
(value: any, display: 'full' | 'symbol' | 'name' = 'full', locale?: unknown) => any