Check out example codes for "int32 vs int64". It will help you in understanding the concepts better.

Code Example 1

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

Learn ReactJs, React Native from akashmittal.com