Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15721

[Server] Incorrect return in $round example

    XMLWordPrintableJSON

Details

    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.

       

      Attachments

        Activity

          People

            lindsey.moore@mongodb.com Lindsey Moore
            reiner.proels@gmail.com Reiner Pröls
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 13 weeks, 6 days ago