Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-66784

numberDecimalsAlmostEqual doesn't work for negative numbers

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc8, 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • QO 2022-05-30
    • 155

    Description

      NumberDecimal("-104735446372966662851.0135276410897") and NumberDecimal("-104735446372966750508.0426966190306") should be "almost equal", but they are not.

      Attachments

        Activity

          People

            davis.haupt@mongodb.com Davis Haupt (Inactive)
            hana.pearlman@mongodb.com Hana Pearlman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: