Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VBScript CInt Function

VBScript CInt Function


VBScript reference manual 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 »


VBScript reference manual Complete VBScript Reference Manual