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.

Examples

PRINT CLong(PI)

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

1340164183006339840

See also

Conversion Functions