VBScript CByte Function
Complete VBScript Reference Manual
The CByte function converts an expression to the Byte type.
The expression must be a number between 0 and 255.
Syntax
CByte(expression)
| Parameters | Description |
|---|---|
| expression | Required. Any valid expression. |
Example
Example
The example above produces the following output:
0
57
123
255
Try it »
Complete VBScript Reference Manual