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

Allow NumberDecimal to be constructed from other types in the shell

    • Server Tooling & Methods

      NumberDecimal(NumberLong("5")) should use the Decimal128 wrapper constructors to allow users to construct NumberDecimals in the shell from other types.

      Note: The decimal128(double) constructor uses a 15 digit quantizing function, which maintains exactly 15 digits of precision when constructing a decimal128 from a double.

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            raymond.jacobson Raymond Jacobson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: