parseInt(NumberLong()) Creates NaN

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: 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
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

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

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

                Created:
                Updated:
                Resolved: