Home / lang / clong 
CLong
Syntax
lResult = CLong ( Expression AS Variant ) AS Long
lResult = CLng ( Expression AS Variant ) AS Long

Converts an expression into a Long integer number.

Overflow is not detected.

Errors
MessageDescription
Type mismatch (#6) Expression cannot be converted.

Example
PRINT CLong(PI)

3
Example
PRINT CLong(Pi ^ (Pi ^ Pi))

1340164183006339840


See also
Conversion Functions