Export (0) Print
Expand All

Byte Data Type

Byte variables are stored as unsigned 8-bit (1-byte) numbers ranging in value from 0 through 255.

The Byte data type is used for containing binary data.

Note   The Byte data type can be converted to the Short, Integer, Long, Single, Double, or Decimal data type without encountering a System.OverflowException error.

The equivalent .NET data type is System.Byte.

See Also

Data Type Summary | Byte Structure | Integer Data Type | Short Data Type | Type Conversion Functions | Conversion Summary | Efficient Use of Data Types

© 2014 Microsoft