Validation on double type

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.11.4
    • Component/s: BSON
    • None
    • Environment:
      .net core, compass
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Validation fails for double type when value ends in .0

      it passes the validation for 10.1 but not for 10 for example,

      tested on compass, and .net core mongo db driver

        1. image-2020-12-02-12-38-12-267.png
          20 kB
          Pablo Echavarría.
        2. image-2020-12-02-12-42-59-759.png
          17 kB
          Pablo Echavarría.
        3. image-2020-12-02-12-44-51-133.png
          17 kB
          Pablo Echavarría.
        4. image-2020-12-02-12-45-45-570.png
          16 kB
          Pablo Echavarría.
        5. image-2020-12-02-12-45-56-863.png
          16 kB
          Pablo Echavarría.

              Assignee:
              Robert Stam
              Reporter:
              Pablo Echavarría.
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: