[DOCS-5648] NumberLong and NumberInt documentation Created: 16/Jun/15  Updated: 30/Oct/23  Resolved: 01/Nov/22

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Adinoyi Omuya Assignee: Andrew Aldridge
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 1 year, 14 weeks, 1 day ago
Epic Link: DOCSP-1769
Story Points: 0.5

 Description   

See http://docs.mongodb.org/manual/reference/mongodb-extended-json/#numberlong.

Specifically, we state, "NumberLong is a 64 bit signed integer. You must include quotation marks or it will be interpreted as a floating point number, resulting in a loss of accuracy.".

mongoimport will currently treat both the quoted and unquoted forms the same - they will be imported as expected - and will not cause the unquoted form to be treated as a floating point number.

So the documentation http://docs.mongodb.org/manual/reference/mongodb-extended-json/#input-in-mongo-shell-mode, while true, leads to different behavior in the tools vs the mongo shell.



 Comments   
Comment by Education Bot [ 01/Nov/22 ]

Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!

Generated at Thu Feb 08 07:50:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.