Int16 Data Type

Holds signed 16-bit (2-byte) integer values in the range −32,768 – +32,767.


Default value
When you declare a variable of type Int16 and leave it uninitialized,, its value defaults to zero (0).
The Int16 data type widens to Int32, Int, Int64, Int128, Real32, Real64, Real, or Real128 without any risk of overflow.
Type characters
Int16 has no type characters.

Shared methods and properties

Int16.Bits As UInt
Returns the number of available bits. This is always 16.
Int16.Max As Int16
Returns the maximum positive value.
Int16.Min As Int16
Returns the minimum negative value.


Dim foo As Int16

See also