CSByte Function
Syntax
CSByte(expr)
Group
Description
Convert to an 8 bit signed integer SByte value.
VBA
This language element is not VBA compatible and requires the #Language "WWB-COM" setting.
Parameters
Parameters | Description |
---|---|
expr | Convert a number or string value to a signed byte value. |
Sub Main Debug.Print CSByte(1.6) ' 2 End Sub