What is CurrencyPipe in Angular 10 ? Last Updated : 03 Jun, 2021 Comments Improve Suggest changes Like Article Like Report In this article, we are going to see what is CurrencyPipe in Angular 10 and how to use it. CurrencyPipe is used to transform a number to a currency string, formatted according to locale rules that determine group sizing and separator, decimal-point character Syntax: {{ value | currency }} Approach: Create the Angular app to be usedThere is no need for any import for the currencyPipe to be usedIn app.component.ts define the variables that take the currency value.In app.component.html use the above syntax with the '|' symbol to make the currency element.Serve the angular app using ng serve to see the output Parameters: currencyCode: It takes a stringdisplay: It takes a string or booleandigitsInfo: It takes a stringlocale: It takes a string Example 1: app.component.ts import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html' }) export class AppComponent { // Currency variable to be used a = 100; } app.component.html <!-- Default currency is in Dollars--> <p>A: {{a | currency}}</p> <!-- INR CurrrenyCode is used for Rupees symbol--> <p>A: {{a | currency:'INR'}}</p> <!-- INR CurrrenyCode is used--> <p>A: {{a | currency:'INR':'code'}}</p> <!-- EUR CurrrenyCode is used for Europeon Currency--> <p>A: {{a | currency:'EUR'}}</p> Output: Comment More infoAdvertise with us Next Article What is CurrencyPipe in Angular 10 ? T taran910 Follow Improve Article Tags : Web Technologies AngularJS Angular10 Similar Reads What is currency filter in AngularJS ? In this article, we will know the currency filters in AngularJS, along with understanding its implementation through the examples. Filters are used to modify or format the given data in a certain way. AngularJS has different filters such as uppercase, lowercase, etc. One of those filters is the curr 2 min read What is CommonModule in Angular 10 ? In this article, we are going to see what is CommonModule in Angular 10 and how to use it. CommonModule is used to export all the basic Angular directives and pipes. It is re-exported when we import BrowserModule into our angular application, BrowserModule is automatically imported into our applicat 2 min read What is pipe() function in Angular ? Angular stands out as a liked JavaScript framework for developing web applications. In Angular, the pipe() function plays a vital role in transforming data within templates. It allows you to apply various transformations to data before displaying it in the view. In this article, we will explore more 4 min read What is the AppModule in Angular ? In Angular, AppModule plays an important role as the entry point to an Angular application. In this article, we'll learn about what AppModule is, its structure, and its significance in Angular applications. We'll also look at some examples to have a clear understanding. Table of Content What is AppM 4 min read Angular 10 getCurrencySymbol() Method In this article, we are going to see what is getCurrencySymbol in Angular 10 and how to use it. getCurrencySymbol is used to retrieve the currency symbol for a given currency code Syntax: getCurrencySymbol(code, locale, format) Parameters: code: The currency codelocale: A locale code for the locale 1 min read Like