Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19548

Add aggregation expressions for $floor, $ceil, and $trunc

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.7
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Fully Compatible
    • Quint Iteration 7

      $floor, $ceil, and $trunc each take one numeric input and return a rounded number of the same type.

      $trunc rounds towards 0, $floor rounds towards negative infinity, and $ceil rounds towards positive infinity.

            Assignee:
            charlie.swanson@mongodb.com Charlie Swanson
            Reporter:
            james.cohan James Cohan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: