Documentation

Round Int - Open Dev Kit Documentation

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

Root.Math.RoundInt(
  Value Double,
  Unit Integer
) Integer
Rounds 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

Integer

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