43 lines
810 B
Plaintext
43 lines
810 B
Plaintext
|
|
p.location-badge.
|
|
exported from <a href='../pipes'>angular2/pipes</a>
|
|
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.33/modules/angular2/src/change_detection/pipes/number_pipe.ts#L85-L102">angular2/src/change_detection/pipes/number_pipe.ts (line 85)</a>
|
|
|
|
:markdown
|
|
Formats a number as local percent.
|
|
|
|
# Usage
|
|
|
|
expression | percent[:digitInfo]
|
|
|
|
For more information about `digitInfo` see <a href='DecimalPipe-class.html'><code>DecimalPipe</code></a>
|
|
|
|
|
|
|
|
.l-main-section
|
|
h2 Annotations
|
|
.l-sub-section
|
|
h3.annotation CONST
|
|
pre.prettyprint
|
|
code.
|
|
@CONST()
|
|
|
|
|
|
.l-main-section
|
|
h2 Members
|
|
.l-sub-section
|
|
h3 transform
|
|
|
|
|
|
pre.prettyprint
|
|
code.
|
|
transform(value: any, args: any[])
|
|
|
|
:markdown
|
|
|
|
|
|
|
|
|
|
|
|
|