int64 range code example
Example 1: range of int
TypeName Bytes Range of Values
int 4 -2,147,483,648 to 2,147,483,647
Example 2: int32 vs int64
Int32 and Int64 are defined by their names. Int32 is a signed, thirty-two byte integer value (4 bytes), and an int64 is a signed, sixty-four bit integer value (8 bytes). Int32 has a min/max of 2.147 billion and int64 has a min/max of 9223 with a lot of zeroes