Skip to content

Commit

Permalink
Tweaked post-squash number rounding
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Jul 19, 2018
1 parent 2554387 commit ff0a3bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions REFlexFunctions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -678,9 +678,9 @@ function RE:AbbreviateNumbers(value)
elseif value >= 1000000000 then
value = RE:Round(value / 1000000000, 2).."B"
elseif value >= 100000000 then
value = RE:Round(value / 1000000, 0).."M"
elseif value >= 1000000 then
value = RE:Round(value / 1000000, 1).."M"
elseif value >= 1000000 then
value = RE:Round(value / 1000000, 2).."M"
elseif value >= 1000 then
value = RE:Round(value / 1000, 0).."K"
end
Expand Down

0 comments on commit ff0a3bd

Please sign in to comment.