secret
Created

  • Download Gist
gistfile1.diff
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
diff --git a/FreebTip/tip.lua b/FreebTip/tip.lua
index 0a1aeda..2d47123 100644
--- a/FreebTip/tip.lua
+++ b/FreebTip/tip.lua
@@ -109,9 +109,9 @@ local classification = {
local numberize = function(val)
if(val >= 1e6) then
- return ("%dm"):format(val / 1e6)
+ return ("%.0fm"):format(val / 1e6)
elseif(val >= 1e3) then
- return ("%dk"):format(val / 1e3)
+ return ("%.0fk"):format(val / 1e3)
else
return ("%d"):format(val)
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.