From http://www.w3schools.com (Copyright Refsnes Data)

VBScript CLng Function


VBScript Reference Complete VBScript Reference

The CLng function converts an expression to type Long.

Note: The value must be a number between -2147483648 and 2147483647.

Syntax

CLng(expression)

Parameter Description
expression Required. Any valid expression

Example 1

Dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "<br />")
document.write(CLng(b))

Output:

23524
23526


VBScript Reference Complete VBScript Reference

From http://www.w3schools.com (Copyright Refsnes Data)