Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9571

[DEPRECATION] Replace BigDecimal.ROUND_* by RoundingMode.*

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Implemented
    • Trunk
    • 18.12.01
    • ALL COMPONENTS
    • None

    Description

      3 years ago I wrote about that in dev ML: https://s.apache.org/EVxA

      I just read at http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html : <<Using the integer fields in this class (such as ROUND_HALF_UP) to represent rounding mode is largely obsolete; the enumeration values of the RoundingMode enum, (such as RoundingMode.HALF_UP) should be used instead.

      It's time for action...

      Attachments

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              jleroux Jacques Le Roux
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: