Details
-
New Feature
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
Query Optimization
-
Fully Compatible
Description
The $mod query operator converts fractional numbers to integers to do the modular arithmetic. It still makes sense to mod by a fractional number in some scenarios.
Attachments
Issue Links
- is related to
-
DOCS-7792 $mod silently truncates decimal arguments to integers
-
- Closed
-
-
SERVER-32960 $mod has inconsistent rounding/truncation behavior
-
- Closed
-