ToLong

concerns

The ToLong function is a type conversion function. ToLong converts the specified expression to a long value, rounding the decimal places.

 

Syntax

ToLong(Expr)

Return value

Type

Description

Long

Long value

-2.147.483.648 to 2.147.483.647

Parameter

Use

Name

Type

Passing

Description

Required

Expr

Variant

ByVal

Expression to be converted to a long value