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

parseInt(NumberLong()) Creates NaN

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: 2.4.3
    • Component/s: JavaScript
    • Environment:
      CentOs 6.3 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
      And
      Windows 7
    • Major Change
    • ALL
    • Hide

      x = NumberLong(5)
      parseInt

      Show
      x = NumberLong(5) parseInt

      When trying to parseInt on a bson NumberLong, the result will be NaN instead of a number

            Assignee:
            Unassigned Unassigned
            Reporter:
            manchuck chuck reeves
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: