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

parseInt(NumberLong()) Creates NaN

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • None
    • 2.4.3
    • JavaScript
    • 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

    Description

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: