export class PercentPipe
export class PercentPipe
exported from angular2/common defined in angular2/src/common/pipes/number_pipe.ts (line 94)
WARNING: this pipe uses the Internationalization API. Therefore it is only reliable in Chrome and Opera browsers.
Formats a number as local percent.
Usage
expression | percent[:digitInfo]
For more information about digitInfo
see DecimalPipe
Example
Annotations
@Pipe({name: 'percent'})
@Pipe({name: 'percent'})
@Injectable()
@Injectable()
Members
transform(value: any, args: any[]) : string
transform(value: any, args: any[]) : string
Not Yet Documented