Documentation

Round Up to Power of 2 - Open Dev Kit Documentation

Open Dev Kit Documentation :: General :: Math :: Round Up to Power of 2

Root.Math.RoundPower2(
  Value Integer
) Integer
Rounds up a value to the nearest power of 2

Parameters

Value Integer
The value being rounded up

Return Value

Integer

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