PercentPipe

Stable

Pipe

What it does

Formats a number as a percentage according to locale rules.

How to use

number_expression | percent[:digitInfo]

NgModule

Description

exported from @angular/common/index defined in @angular/common/src/pipes/number_pipe.ts