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.
- depends on
-
SERVER-32960 $mod has inconsistent rounding/truncation behavior
- Closed