Skip to main content
Previewvendurehq/vendure/feat/4563-refund-destinations

LocaleCurrencyPipe

Formats a Vendure monetary value (in cents) into the correct format for the configured currency and display locale.

Example

HTML
Signature
  • Extends: LocaleBasePipe

  • Implements: PipeTransform

precisionFactor

propertynumber

constructor

method(currencyService: CurrencyService, dataService?: DataService, changeDetectorRef?: ChangeDetectorRef) => LocaleCurrencyPipe

transform

method(value: unknown, args: unknown[]) => string | unknown