Open Dev Kit Documentation :: General :: Math :: Round Up to Power of 2
Root.Math.RoundPower2( Value Integer ) IntegerRounds up a value to the nearest power of 2
Parameters
- Value Integer
- The value being rounded up
Return Value
Lua Usage
local integer = math:RoundPower2(value)
If you think anything is missing, please feel free to: submit documentation feedback on this page
