CByte Function

Syntax:
CByte(Num|$)
Group: Conversion
Description:
Convert to a byte value.
Parameter Description

Num|$ Convert a number or string value to a byte value.
Example:

Sub Main
Debug
.Print CByte(1.6) ' 2
End
Sub