Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-874

$mod has inconsistent rounding/truncation behavior

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: None
    • Labels:
      None

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            sara.williamson@mongodb.com Sara Williamson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: