Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
Description
Description
Downstream Change Summary
$mod now truncates it's decimal arguments (not input) towards zero. Before this change $mod truncated them to the nearest integer
Description of Linked Ticket
See DOCS-7792 - $mod will truncate a double (e.g. 2.7 -> 2), but will round decimals, ties to even (e.g. 3.5 -> 4).
We should be consistent here, probably truncating decimals as well as doubles.
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
Attachments
Issue Links
- documents
-
SERVER-32960 $mod has inconsistent rounding/truncation behavior
-
- Closed
-