VBScript CLng Function
Complete VBScript Reference Manual
The CLng function converts an expression to the Long type.
**Note:** The value must be a number between -2147483648 and 2147483647.
Syntax
CLng(expression)
| Parameters | Description |
|---|---|
| expression | Required. Any valid expression. |
Example
Example
The example above produces the following output:
300000
1537
-6700000
Try it »
Complete VBScript Reference Manual