ng-devui
Version:
DevUI components based on Angular
10 lines (9 loc) • 534 B
TypeScript
import { PipeTransform } from '@angular/core';
import * as i0 from "@angular/core";
export declare class NumberTransPipe implements PipeTransform {
getFlowStr(value: number, fixedNum: number): string;
getUnitStr(valueParam: number, fixedNum: number): string;
transform(value: number | string, type?: 'comma' | 'unit' | 'flow' | 'exponent', fixedNum?: number): string;
static ɵfac: i0.ɵɵFactoryDeclaration<NumberTransPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<NumberTransPipe, "dNumberTrans", false>;
}