VB long integer code
Long integer data is long in VB, for example, declaring a long integer data is like this:

Dim X As Long

There are many data types in VB, including byte data, logical data, integer data, long data, single data, double data, currency data, date data, character data and string data.

Usually, we determine the data type when we declare variables or constants, so the program runs according to the data type we declare at runtime. If you use a variable directly without declaring it in the program, then the variable is a variant data type, and its data type is determined according to the purpose of the variable in the program.