mirror of
https://github.com/benjamin-wilson/public-pool-ui.git
synced 2025-03-27 02:01:42 +01:00
tofixed
This commit is contained in:
parent
fe42b01021
commit
feb00e9f5a
@ -21,7 +21,7 @@ export class NumberSuffixPipe implements PipeTransform {
|
||||
const scaledValue = value / Math.pow(1000, power);
|
||||
const suffix = suffixes[power];
|
||||
|
||||
return scaledValue.toFixed(1) + suffix;
|
||||
return scaledValue.toFixed(2) + suffix;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user