hash suffix

This commit is contained in:
Benjamin Wilson 2025-02-01 15:32:20 -05:00
parent 80081e337d
commit 1edec8e222

View File

@ -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) {