Currency pipes format the number to the required currency format that is provided. This is the syntax for a currency pipe:
expression | currency[:currencyCode[:symbolDisplay[:digitInfo]]]
The expression is the input data for a pipe; currency is the keyword of the pipe, and it takes three arguments, namely currencyCode, which takes values such as USD, INR, GBP, and EUR, symbolDisplay, which accepts true or false to show/hide the currency symbol, and digitInfo, which takes the decimal format for the currency. The following template demonstrates how to use the currency pipe:
The output ...