|
VBScript CByte Function
Complete VBScript Reference
The CByte function converts an expression to type Byte.
Syntax
| Parameter |
Description |
| expression |
Required. Any valid expression |
Example 1
dim a
a=134.345
document.write(CByte(a))
Output:
134
|
Example 2
dim a
a=14.345455
document.write(CByte(a))
Output:
14
|
Complete VBScript Reference
|