Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1922

Arithmetic functions with Decimal128

    • Type: Icon: New Feature New Feature
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.5.0
    • Component/s: BSON
    • Labels:
      None

      I want to store and use decimals in mongo to represent monetary data.  Looking at the implementation of decimal128 across the other drivers such as python and csharp, it is odd that the maturity of the golang driver implementation lacks the following:

       

      a. Add, Sub, Mul, Div

      b. IsEqual

       

      Is there any roadmap for these functions?

            Assignee:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Reporter:
            sweetat@withevo.com Swee Tat Lim
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: