mirror of
https://github.com/benjamin-wilson/public-pool-ui.git
synced 2025-08-09 04:31:55 +02:00
hash suffix
This commit is contained in:
@@ -17,7 +17,7 @@ export class HashSuffixPipe implements PipeTransform {
|
|||||||
return '0';
|
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);
|
let power = Math.floor(Math.log10(value) / 3);
|
||||||
if (power < 0) {
|
if (power < 0) {
|
||||||
|
Reference in New Issue
Block a user