Arithmetic functions with Decimal128

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.5.0
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 (Inactive)
            Reporter:
            Swee Tat Lim
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: