Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2860

Decimal128 should extend Number and implement Comparable

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.10.0
    • None
    • BSON
    • None
    • Minor Change

    Description

      It would be beneficial if Decimal128 would extend the standard Java interface Number (as all numbers and BigDecimal do). This would improve compatibility with many libraries that are Decimal128 unaware, but are able to process numbers.

      Update: Also consider implementing Comparable

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            MatejTymes Matej Tymes [X]
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: