Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5213

Document changes to BigDecimal type and addition of global flag

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 8.0.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible

      With the completion of MONGOID-4237, we will have added a new global flag which will allow the user to specify that they want BigDecimals to be stored as Decimal128s in the database instead of strings. Document this, and explain the drawbacks of using Decimal128 instead of strings:

      1. Decimal128 has range and precision limitations 
      2. Decimal128 has signed NaNs
      3. Decimal128 keeps track of trailing zeros

            Assignee:
            neil.shweky@mongodb.com Neil Shweky (Inactive)
            Reporter:
            neil.shweky@mongodb.com Neil Shweky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: