refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-29 17:24:39 +02:00
parent da07e35976
commit fc347ed4cd
11 changed files with 85 additions and 84 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ function public.to_string2(money, exact, color)
if not exact and money >= 10000 then
-- Round to nearest silver
money = floor(money / 100 + 0.5) * 100
money = floor(money / 100 + .5) * 100
end
local g, s, c = to_gsc(money)