Answers for "currency angular"

0

currency angular

{{ value_expression | currency [ : currencyCode [ : display [ : digitsInfo [ : locale ] ] ] ] }}
Posted by: Guest on December-17-2020
0

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'
Posted by: Guest on December-29-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language