[SERVER-19548] Add aggregation expressions for $floor, $ceil, and $trunc Created: 23/Jul/15  Updated: 28/Oct/15  Resolved: 07/Aug/15

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 3.1.7

Type: New Feature Priority: Major - P3
Reporter: James Cohan Assignee: Charlie Swanson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CSHARP-1370 Add aggregation expressions for $floo... Closed
is related to DRIVERS-234 Aggregation Builder Support for 3.2 Closed
Backwards Compatibility: Fully Compatible
Sprint: Quint Iteration 7
Participants:

 Description   

$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.



 Comments   
Comment by Githook User [ 07/Aug/15 ]

Author:

{u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'charlie.swanson@mongodb.com'}

Message: SERVER-19548 Add $ceil, $floor, and $trunc aggregation expressions
Branch: master
https://github.com/mongodb/mongo/commit/326aa0029a29f06772665750400473db69945234

Generated at Thu Feb 08 03:51:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.