Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.