Skip to content

Commit

Permalink
update default precision
Browse files Browse the repository at this point in the history
  • Loading branch information
Regisle committed Oct 20, 2024
1 parent d185886 commit 05fe6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/Common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05fe6df

Please sign in to comment.