From 21cc944a0673a6b860f831858c52ea12f2f7fc83 Mon Sep 17 00:00:00 2001 From: wktr <94459237+WiktorProj@users.noreply.github.com> Date: Sun, 8 Sep 2024 20:08:25 +0200 Subject: [PATCH] Update NumberFormating.js --- MeTMT/js/utils/NumberFormating.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MeTMT/js/utils/NumberFormating.js b/MeTMT/js/utils/NumberFormating.js index 50d8aef..156375f 100644 --- a/MeTMT/js/utils/NumberFormating.js +++ b/MeTMT/js/utils/NumberFormating.js @@ -155,7 +155,7 @@ function standardFormat(decimal) { prefix += symbols[1][e.div(10).floor().mod(10)] prefix += symbols[2][e.div(100).floor().mod(10)] if (first[e] != undefined) prefix = first[e] - return (e.lt(50000) ? defaultFormat(decimal.div(new Decimal(10).pow(e.times(3)))) : "") + prefix + return (e.lt(3000) ? defaultFormat(decimal.div(new Decimal(10).pow(e.times(3)))) : "1") + prefix } setInterval(function() {