Short variables are stored as signed 16-bit (2-byte) integers ranging in value from -32,768 through 32,767.
Note The Short data type can be converted to the Integer, Long, Single, Double, or Decimal data type without encountering a System.OverflowException error.
Appending the literal type character S to a literal forces it to the Short data type.
The equivalent .NET data type is System.Int16.
Data Type Summary |