CSByte Function

Syntax              CSByte(expr)

Group                Conversion

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.

Parameter         Description

expr                    Convert a number or string value to a signed byte value.

Example            '#Language "WWB-COM"
Sub Main
    Debug.Print CSByte(1.6) ' 2
EndSub