From 05fe6dfd7d06928dd99269eb75c5f651c6cd0c08 Mon Sep 17 00:00:00 2001 From: Regisle Date: Sun, 20 Oct 2024 20:54:07 +1030 Subject: [PATCH] update default precision --- src/Modules/Common.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Modules/Common.lua b/src/Modules/Common.lua index 236b36131a..e2e548d790 100644 --- a/src/Modules/Common.lua +++ b/src/Modules/Common.lua @@ -658,7 +658,7 @@ function formatNumSep(str) local x, y, minus, integer, fraction = str:find("(-?)(%d+)(%.?%d*)") if main.lowerPrecisionDisplay and #integer > 3 then if fraction == "" then - fraction = "."..integer:sub(-2) + fraction = "."..integer:sub(-1) else fraction = "."..integer:sub(-#(fraction or " ") + 1) end