VBScript CInt Function
Complete VBScript Reference Manual
The CInt function converts an expression to the Integer type.
**Note:** The value must be a number between -32768 and 32767.
Syntax
CInt(expression)
| Parameters | Description |
|---|---|
| expression | Required. Any valid expression. |
Example
Example
The example above produces the following output:
300
37
-67
Try it »
Complete VBScript Reference Manual