myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott O'Bryan (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (TRINIDAD-2405) Allow numberConverter to specify roundingmode
Date Mon, 04 Nov 2013 20:24:17 GMT

     [ 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)

Mime
View raw message