Back to Developer Roadmap

Int64 / Long

src/data/roadmaps/mongodb/content/int64--long@iJFDFdIN_N4-DlJwrFIiB.md

4.0748 B
Original Source

Int64 / Long

Int64 (Long) data type in MongoDB stores 64-bit signed integers with a range from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807. This type handles large integer values that exceed Int32 limits while maintaining exact precision. Long integers are essential for timestamps, large counters, and applications requiring precise integer arithmetic with very large numbers.

Visit the following resources to learn more: