You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org> on 2013/11/04 21:24:17 UTC

[jira] [Resolved] (TRINIDAD-2405) Allow numberConverter to specify roundingmode

     [ https://issues.apache.org/jira/browse/TRINIDAD-2405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott O'Bryan resolved TRINIDAD-2405.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.8-plugins
         Assignee: Jeanne Waldman

This was never closed even though it was committed

> Allow numberConverter to specify roundingmode
> ---------------------------------------------
>
>                 Key: TRINIDAD-2405
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2405
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>            Reporter: Yee-Wah Lee
>            Assignee: Jeanne Waldman
>            Priority: Minor
>             Fix For: 2.0.8-plugins
>
>         Attachments: TrinPlugin_2405_numberConverterRoundingCode.diff, TrinTrunk_2405_numberConverterRounding.diff, TrinTrunk_2405_numberConverterRounding_xsdfix.diff
>
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)