mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 09:48:52 +00:00
Added ESX.Math.*
This commit is contained in:
@@ -59,7 +59,6 @@ ESX.DumpTable = function(table, nb)
|
||||
end
|
||||
|
||||
|
||||
ESX.Round = function(value)
|
||||
return value >= 0 and math.floor(value + 0.5) or math.ceil(value - 0.5)
|
||||
ESX.Round = function(value, numDecimalPlaces)
|
||||
return ESX.Math.Round(value, numDecimalPlaces)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user