Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODE-347

int64 values are displayed as float64s

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Problem Statement/Rationale

      Large int64 values are not displayed correctly, since they're parsed as float64s (I assume based on the output value, and the value at which I start seeing this behavior). Ideally they would be displayed as extended JSON to avoid losing precision.{}{}

      Steps to Reproduce

      Create a document with a long field with a value greater than 9,007,199,254,740,992 and then view that document with the vscode plugin.

      Expected Results

      The value will be displayed as extended json to avoid losing precision

      Actual Results

      The value is displayed as a float64 which leads to losing precision

      Additional Notes

       

        1. image (5).png
          image (5).png
          44 kB
        2. image (4).png
          image (4).png
          61 kB

            Assignee:
            Unassigned Unassigned
            Reporter:
            kiro.morkos@mongodb.com Kiro Morkos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: