Documentation

Integer Division - Open Dev Kit Documentation

Open Dev Kit Documentation :: General :: Math :: Integer Division

Root.Math.DivideInt(
  Value Integer,
  Divide Integer
) Integer
Divides a value to the nearest whole number

Parameters

Value Integer
The value being divided
Divide Integer
The number the value is divided by

Return Value

Integer

Lua Usage

local integer = math:DivideInt(value, divide)

If you think anything is missing, please feel free to: submit documentation feedback on this page