Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-2405

Allow numberConverter to specify roundingmode

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.8-plugins, 2.1.0-core
    • None
    • None

    Description

      NumberFormat has a method setRoundingMode() which controls how numbers are rounded. The JDK default is RoundingMode.HALF_EVEN.

      This tracks adding an attribute to the numberConverter so that the rounding mode can be set, instead of always using JDK defaults.

      Attachments

        Activity

          People

            jeanne.waldman@oracle.com Jeanne Waldman
            yeelee Yee-Wah Lee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: