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

Arithmetic functions with Decimal128

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • 1.5.0
    • BSON
    • None

    Description

      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?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: