Range of values and memory size of all data types

The following table lists the supported data types with their memory requirements and value range.

Data typeValue rangeMemory size
booleantrue/false8 Bit
byte-27 … 27-18 Bit
short-215 … 215-116 Bit
char0 … 65535 (All Unicode characters)16 Bit
int-231 … 231-132 Bit
float+/-3.40282347 * 103832 Bit
double+/-1.79769313486231570 * 1030864 Bit
long-263 … 263-164 Bit