Technical ReferenceMacroBasic Language CByte Function Syntax CByte(expr) Group Conversion Description Convert to an 8 bit unsigned integer Byte value. Parameters Description expr Convert a number or string value to an unsigned byte value. Example Sub Main Debug.Print CByte(1.6) ' 2 End Sub