By using t2do.com you agree to our cookie policy, We and our partners operate globally and use cookies, for multiple purposes

 


Long

Long is a long number between –2,147,483,648 and 2,147,483,647

It takes up 4 bytes vs. 2 for an Integer.

I recommend most cases using a long instead of an integer as the limited size to -32K to +32k.

The number can't have a decimal and it will be truncated.