Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4851776

Allow control of precision and rounding of BigDecimal arithmetic operations

XMLWordPrintable

    • tiger
    • generic, sparc
    • generic

      This bug is a marker for the first portion of jsr13: adding new arithmetic methods that take a MathContext object which affects what rounding mode is used and how many digits the returned result has. (Currently, all BigDecimal operations other than divide and setScale always return the exact result.) This work also introduces a small MathContext class and a RoundingMode typesafe enum.

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: