From 4833424af4bc2ceaa5aec78e094a2649e9ee4e52 Mon Sep 17 00:00:00 2001 From: wktr <94459237+WiktorProj@users.noreply.github.com> Date: Sun, 8 Sep 2024 17:21:26 +0200 Subject: [PATCH] 0.4_1/2.0.????? --- 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 8f3cf6f..c7d4f08 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 defaultFormat(decimal.div(new Decimal(10).pow(e.times(3)))) + prefix + return (e.lt(1500) ? defaultFormat(decimal.div(new Decimal(10).pow(e.times(3)))) : "") + prefix } setInterval(function() {