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

Decimal128 should extend Number and implement Comparable

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.10.0
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • Minor Change

      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

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

              Created:
              Updated:
              Resolved: