arlas-web-components / Exports / ShortenNumberPipe
Class: ShortenNumberPipe
Implements
PipeTransform
Table of contents
Constructors
Methods
Constructors
constructor
• new ShortenNumberPipe()
Defined in
projects/arlas-components/src/lib/pipes/shorten-number/shorten-number.pipe.ts:30
Methods
transform
▸ transform(number
, precision?
): any
Parameters
Name | Type | Default value |
---|---|---|
number |
number |
undefined |
precision |
number |
DEFAULT_SHORTENING_PRECISION |
Returns
any
Implementation of
PipeTransform.transform
Defined in
projects/arlas-components/src/lib/pipes/shorten-number/shorten-number.pipe.ts:32