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

Inconsisent BigDecimal behavior

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Ruby Sprint 32, Ruby Sprint 35

      Description

      Recently I attempted to migrate a number of Float fields to BigDecimal, and I found that the behavior is inconsistent between the two.

      I've raised a PR here which rectifies the situation. There is further detail on the issue in the PR: https://github.com/mongodb/mongoid/pull/4164

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: