change precision

This commit is contained in:
Mylloon 2022-07-25 00:59:12 +02:00
parent 1ece0ecb16
commit b85e1a7672
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -168,6 +168,6 @@ async (locales: Map<string, Map<string, string>>, default_lang: string) => {
}
};
console.log(`${lang} | ${color()}${blocks}\x1b[0m${blank} | ${percentage}%`);
console.log(`${lang} | ${color()}${blocks}\x1b[0m${blank} | ${percentage.toPrecision(3)}%`);
});
};