[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: |
|
||||||||||||
| 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: |