Dev - Data Types - Byte
An 8-bit unsigned integer number. In Lua it's represented by a number. A byte can contain values from 0 to 255.
Byte Parameters
When methods have byte parameters you can simply put the number in the code. If you specify decimals they are ignored.
Precision
Lua uses 64-bit doubles to represent any type of number. When passing a Lua number to a method which requires a byte, you will lose all decimals. Also values outside the range of 0 to 255 will not work as expected!
Byte Return Values
When a method returns a byte value, it will be converted to a Lua number.