Search
 
SCRIPT & CODE EXAMPLE
 

TYPESCRIPT

angular currency pipe pt-br as variable

//I solved this way:

//app.module.ts

import { LOCALE_ID } from '@angular/core';
import localePt from '@angular/common/locales/pt';
import {registerLocaleData} from '@angular/common';
registerLocaleData(localePt)

 providers: [{
    provide: LOCALE_ID, 
    useValue: "pt-BR"
  }],

//.html

currency:'BRL' 
Comment

PREVIOUS NEXT
Code Example
Typescript :: jquery select multiple elements with same class 
Typescript :: create custom user properties firebase 
Typescript :: deep partial typescript 
Typescript :: how can i take multiple inputs from the user in discord.js 
Typescript :: npm run serve https 
Typescript :: ganache 
Typescript :: google sheets new line 
Typescript :: what is the use of potential difference 
Typescript :: get a list of all email accounts in cpanel 
Typescript :: java lambda list of objects cast 
Typescript :: provider in ethers.js 
Typescript :: python get list elements missing in one list 
Typescript :: what is test data 
Typescript :: typescript import css 
Typescript :: how to restrict alphabets in input field in angular 
Typescript :: Get Type of first element in Array TypeScript 
Typescript :: Angular import from local library 
Typescript :: remove elements from array that has same value from other array 
Typescript :: How to check if all elements are equal C# 
Typescript :: shortid typescript 
Typescript :: typescript react theme-provider 
Typescript :: pandas get count of pair of elements in two columns 
Typescript :: change field name relation typeorm 
Typescript :: ts Strategy pattern 
Typescript :: Start Angular App In Localhost 
Typescript :: dart create list from object properties 
Typescript :: how to check if object is undefined in typescript 
Typescript :: ts compile command 
Typescript :: Scroll, Position 
Typescript :: laravel row exists or null 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =