docs
angular
Pipes
Currency

CurrencyPipe

standalone: true

O CurrencyPipe converte centavos em moeda e formata usando o CurrencyPipe do Angular.

Uso

Para usar o CurrencyPipe, adicione o pipe currency no seu template.

.component.ts
import { CurrencyPipe } from "@burand/angular";
 
...
amount = 1050
.component.html
<p>{{ amount | currency }}</p>
<!-- R$ 10,50 -->