[DOCS-15721] [Server] Incorrect return in $round example Created: 03/Nov/22  Updated: 30/Oct/23  Resolved: 09/Jan/23

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

Type: Bug Priority: Trivial - P5
Reporter: Reiner Pröls Assignee: Lindsey Moore
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 1 year, 13 weeks, 6 days ago
Epic Link: DOCSP-11701

 Description   

Hello,

in your docu:

https://www.mongodb.com/docs/manual/reference/operator/aggregation/round/

At the end you have

For example, $round : [1234.5678, 0] returns 1234.

This is wrong! 1235 is returned and the returned value is correct.

 


Generated at Thu Feb 08 08:13:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.