SyntaxDim result As Byte = CByte (expression)
DescriptionThe CByte function converts expression to the Byte data type. Usage at a Glance
ExampleDim targetNumber As Byte If IsNumeric(stringNumber) Then targetNumber = CByte(stringNumber) End If See AlsoCSByte Function |