From b85e1a76720b8f9b65a2e1680c4e6fad53099f73 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 25 Jul 2022 00:59:12 +0200 Subject: [PATCH] change precision --- src/utils/locales.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/locales.ts b/src/utils/locales.ts index 12c0b84..1fd86fc 100644 --- a/src/utils/locales.ts +++ b/src/utils/locales.ts @@ -168,6 +168,6 @@ async (locales: Map>, default_lang: string) => { } }; - console.log(`${lang} | ${color()}${blocks}\x1b[0m${blank} | ${percentage}%`); + console.log(`${lang} | ${color()}${blocks}\x1b[0m${blank} | ${percentage.toPrecision(3)}%`); }); }; -- 2.45.2