Share via


6.1.2.3.1.8 CLng

Function Declaration

 Function CLng(Expression As Variant) As Long 

Parameter

Description

Expression

Any data value (section 2.1).

 

Runtime Semantics.

§ If the value of Expression is an Error (section 2.1) data value then return the data value of the Long error code (section 2.1) of the Error data value.

§ If the value of Expression is not an Error data value return the Long data value that is the result of Expression being Let-coerced to Long (section 5.5.1.2.1).