SyntaxDim result As SByte = CSByte(expression)
DescriptionNew in 2005. The CSByte function converts expression to the SByte data type. Usage at a Glance
ExampleDim targetNumber As SByte If IsNumeric(stringNumber) Then targetNumber = CSByte(stringNumber) End If Version DifferencesThe CSByte function is new in the 2005 version of VB. See AlsoCByte Function |