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

Allow NumberDecimal to be constructed from other types in the shell

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: