mirror of
https://github.com/benjamin-wilson/public-pool-ui.git
synced 2025-03-17 13:22:55 +01:00
hash suffix
This commit is contained in:
parent
80081e337d
commit
1edec8e222
@ -17,7 +17,7 @@ export class HashSuffixPipe implements PipeTransform {
|
||||
return '0';
|
||||
}
|
||||
|
||||
const suffixes = [' H/s', ' KH/s', ' MH/s', ' GH/s', ' TH/s', ' PH/s', ' EH/s'];
|
||||
const suffixes = [' H/s', ' KH/s', ' MH/s', ' GH/s', ' TH/s', ' PH/s', ' EH/s', ' ZH/s', ' YH/s', ' RH/s', ' QH/s'];
|
||||
|
||||
let power = Math.floor(Math.log10(value) / 3);
|
||||
if (power < 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user