angular-cn/public/docs/js/latest/api/pipes/DecimalPipe-class.jade

49 lines
865 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.36/modules/angular2/src/core/pipes/number_pipe.ts#L57-L95">angular2/src/core/pipes/number_pipe.ts (line 57)</a>
:markdown
This module provides advanced support for extending change detection.
.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: &#39;number&#39;})
.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