Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. Remarks Use the Long data type to contain integer numbers how long is a steak good in the fridge are too large to fit in the Integer data type. The default value of Long is 0. In the following example, integers equal to 4,294,967,296 that are represented as decimal, hexadecimal, and binary literals are assigned to Long values.
O to denote an octal literal. Starting with Visual Basic 2017, you can also use the underscore character, _, as a digit separator to enhance readability, as the following example shows. Numeric literals can also include the L type character to denote the Long data type, as the following example shows. If you are interfacing with components not written for the .