All integer types represent a signed or unsigned number with 2^x bit (with 2 < x < 8).
The default initialised value is always zero.
Example:
byte b;// signed 8 bits [-128 .. +127] is zero.
short s = 5;// signed 16 bits [-32768.. +32767] is five.
int i;// signed 32 [-4294967296 .. +4294967295]
long l;// signed 64 [-1.8e19 .. +1.8e19]
cent c;// signed 128 [-1,7e+38 .. +1,7e+38] is also zero.
ubyte b =-1 // unsigned 8 bits [0 .. +255] is 255!
ushort;uint;ulong;// unsigned 64 [0 .. 18446744073709551616]
ucent;// unsigned 128 [0 .. 3,4e+38]
Created using PHP docwiki written by Markus Dangl. Best viewed with Mozilla Firefox.