mirror of
https://github.com/benjamin-wilson/public-pool-ui.git
synced 2025-03-17 21:32:54 +01:00
number suffix
This commit is contained in:
parent
e34fcfafa4
commit
0794f97a50
@ -8,7 +8,7 @@ export class NumberSuffixPipe implements PipeTransform {
|
||||
|
||||
transform(value: number): string {
|
||||
|
||||
const suffixes = ['', 'k', 'M', 'G', 'T', 'P', 'E'];
|
||||
const suffixes = ['', 'k', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y', 'R', 'Q'];
|
||||
|
||||
if (value == null || value < 0) {
|
||||
return '0';
|
||||
|
Loading…
x
Reference in New Issue
Block a user