Documentation

Round Int Int - Open Dev Kit Documentation

Open Dev Kit Documentation :: General :: Math :: Round Int Int

Root.Math.RoundIntInt(
  Value Integer,
  Unit Integer
) Integer
Rounds down or up to the nearest number

Parameters

Value Integer
The value being rounded
Unit Integer
The multiple that should be rounded to; use 1 to round to whole numbers

Return Value

Integer

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