This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Integer data type

A fundamental data type that holds integers. An Integer variable is stored as a 16-bit (2-byte) number ranging in value from 32,768 to 32,767. The type-declaration character is % (ANSI character 37).

In Visual Basic, you can use Integer variables to store Boolean (True/False) values.

Show: