About
long is the computer integer data type (ie storage format) that stores integer with at least 32 bit in size and nowdays on 64bit.
Storage and maximum
Vs Integer
The integer data type stores also integer but on a smaller length:
- requiring less storage
- at the cost of a smaller range of possible number