int vs int64 code example
Example 1: difference between int32 and int64
Their values range
Int16 -- (-32,768 to +32,767)
Int32 -- (-2,147,483,648 to +2,147,483,647)
Int64 -- (-9,223,372,036,854,775,808 to +9,223,372,036,854,775,807)
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