API

 

ToCcyPipe

Transforms a number to a localized text of the currency value in the active language. An alternate pipe of ToCurrencyPipe, it can be used with number values instead of CurrencyValue.

{{ value | toCcy: options }}

value: number
The value to convert to localized currency string.
options: string
The mandatory options have to contain at least the currency code. The eventual currency localization parameters are added after the currency code, separated by a vertical bar (`|`) character. See Number, percent and currency options.