Angular provides the following set of built-in pipes:
- CurrencyPipe: This pipe is used for formatting currency data. As an argument, it accepts the abbreviation of the currency type (that is, "EUR", "USD", and so on). It can be used in the following way:
{{ currencyValue | currency: 'USD' }} <!-- USD42 -->
- DatePipe: This pipe is used for the transformation of dates. It can be used in the following way:
{{ dateValue | date: 'shortTime' }} <!-- 12:00 AM -->
- DecimalPipe: This pipe is used for transformation of decimal numbers. The argument it accepts is of the following format: "{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}". It can be used in the following way:
{{ 42.1618 | number: '3.1-2' ...