p.location-badge.
exported from angular2/pipes
defined in angular2/src/pipes/number_pipe.ts (line 92)
:markdown
Formats a number as local percent.
# Usage
expression | percent[:digitInfo]
For more information about `digitInfo` see DecimalPipe
.l-main-section
h2 Annotations
.l-sub-section
h3.annotation CONST
pre.prettyprint
code.
@CONST()
.l-sub-section
h3.annotation Pipe
pre.prettyprint
code.
@Pipe({name: 'percent'})
.l-sub-section
h3.annotation Injectable
pre.prettyprint
code.
@Injectable()
.l-main-section
h2 Members
.l-sub-section
h3 transform
pre.prettyprint
code.
transform(value: any, args: any[])
:markdown