Open Dev Kit Documentation :: General :: Math :: Round Int
Root.Math.RoundInt( Value Double, Unit Integer ) IntegerRounds down or up to the nearest number
Parameters
- Value Double
- The value being rounded
- Unit Integer
- The multiple that should be rounded to; use 1 to round to whole numbers
Return Value
Lua Usage
local integer = math:RoundInt(value, unit)
If you think anything is missing, please feel free to: submit documentation feedback on this page
