type of data | take up space | Ranges |
---|---|---|
short | 2 bytes | -32768 to 32767 |
int | 4 bytes | -2147483647 to 2147483647 |
long | 4 bytes | -2147483647 to 2147483647 |
unsigned short | 2 bytes | 0-65535 |
unsigned int | 2 bytes | 0-4294967295 |
unsigned long | 2 bytes | 0-4294967295 |
Original: Big Box 12, signed unsigned integer value range