Allow NumberDecimal to be constructed from other types in the shell

XMLWordPrintableJSON

    • Server Tooling & Methods
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 Tooling and Methods (STM) (Inactive)
              Reporter:
              Raymond Jacobson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: