Home > lang > clong 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
CLong
Result = CLong ( Expression AS Variant ) AS Long
Result = 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

PRINT CLong(Pi ^ (Pi ^ Pi))

1340164183006339840

See also

Conversion Functions