NumberLong can't be created from NumberLong/Int

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: JavaScript, Shell
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      > NumberLong( NumberLong(1) );
      2014-04-22T16:27:57.206-0400 Error: could not convert "NumberLong(1)" to NumberLong
      > NumberLong( NumberInt(1) );
      2014-04-22T16:27:57.206-0400 Error: could not convert "NumberInt(1)" to NumberLong
      

      NumberInt works with itself... and NumberLong.

            Assignee:
            DO NOT USE - Backlog - Platform Team
            Reporter:
            Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: