Bit of cleanup

This commit is contained in:
Dan
2019-12-07 19:24:20 +00:00
parent 4444be7e5e
commit d49b45f084
2 changed files with 0 additions and 8 deletions

View File

@@ -7,7 +7,6 @@
UTIL = {}
function UTIL:Round( num, numDecimalPlaces )
-- return tonumber( string.format( "%.0f", num ) )
return tonumber( string.format( "%." .. ( numDecimalPlaces or 0 ) .. "f", num ) )
end